PBEAES.PBEWithMD5And128BitAESCBCOpenSSL, AES.PBEWithMD5And192BitAESCBCOpenSSL, AES.PBEWithMD5And256BitAESCBCOpenSSL, AES.PBEWithSHA256And128BitAESBC, AES.PBEWithSHA256And192BitAESBC, AES.PBEWithSHA256And256BitAESBC, AES.PBEWithSHAAnd128BitAESBC, AES.PBEWithSHAAnd192BitAESBC, AES.PBEWithSHAAnd256BitAESBC, ARC4.PBEWithSHAAnd128BitKeyFactory, ARC4.PBEWithSHAAnd40BitKeyFactory, GOST3411.PBEWithMacKeyFactory, IDEA.PBEWithSHAAndIDEAKeyGen, RC2.PBEWithMD2KeyFactory, RC2.PBEWithMD5KeyFactory, RC2.PBEWithSHA1KeyFactory, RC2.PBEWithSHAAnd128BitKeyFactory, RC2.PBEWithSHAAnd40BitKeyFactory, RIPEMD160.PBEWithHmacKeyFactory, SHA1.PBEWithMacKeyFactory, SHA256.PBEWithMacKeyFactory, Tiger.PBEWithMacKeyFactory, Twofish.PBEWithSHAKeyFactorypublic class PBESecretKeyFactory extends BaseSecretKeyFactory implements PBE
algName, algOid| Constructor | Description |
|---|---|
PBESecretKeyFactory(java.lang.String algorithm,
ASN1ObjectIdentifier oid,
boolean forCipher,
int scheme,
int digest,
int keySize,
int ivSize) |
| Modifier and Type | Method | Description |
|---|---|---|
protected javax.crypto.SecretKey |
engineGenerateSecret(java.security.spec.KeySpec keySpec) |
engineGetKeySpec, engineTranslateKeypublic PBESecretKeyFactory(java.lang.String algorithm,
ASN1ObjectIdentifier oid,
boolean forCipher,
int scheme,
int digest,
int keySize,
int ivSize)
protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
engineGenerateSecret in class BaseSecretKeyFactoryjava.security.spec.InvalidKeySpecException