public static class SHA1.BasePBKDF2WithHmacSHA1 extends BaseSecretKeyFactory
algName, algOidMD5, OPENSSL, PKCS12, PKCS5S1, PKCS5S1_UTF8, PKCS5S2, PKCS5S2_UTF8, SHA1, SHA256| Constructor and Description |
|---|
BasePBKDF2WithHmacSHA1(String name,
int scheme) |
| Modifier and Type | Method and Description |
|---|---|
protected SecretKey |
engineGenerateSecret(KeySpec keySpec)
Generate a secret key from the specified key specification.
|
engineGetKeySpec, engineTranslateKeypublic BasePBKDF2WithHmacSHA1(String name, int scheme)
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException
SecretKeyFactorySpiengineGenerateSecret in class BaseSecretKeyFactorykeySpec - the key specification.InvalidKeySpecException - if the specified key specification cannot be used to generate
a secret key.