Class BaseSecretKeyFactory
java.lang.Object
javax.crypto.SecretKeyFactorySpi
org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory
- All Implemented Interfaces:
PBE
- Direct Known Subclasses:
AES.KeyFactory
,ARIA.KeyFactory
,Camellia.KeyFactory
,DES.DESPBEKeyFactory
,DES.KeyFactory
,DESede.KeyFactory
,OpenSSLPBKDF.PBKDF
,PBEPBKDF2.BasePBKDF2
,PBESecretKeyFactory
,SCRYPT.BasePBKDF2
,SEED.KeyFactory
,TLSKDF.TLSKeyMaterialFactory
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseSecretKeyFactory
(String algName, ASN1ObjectIdentifier algOid) -
Method Summary
Modifier and TypeMethodDescriptionprotected SecretKey
engineGenerateSecret
(KeySpec keySpec) protected KeySpec
engineGetKeySpec
(SecretKey key, Class keySpec) protected SecretKey
-
Field Details
-
algName
-
algOid
-
-
Constructor Details
-
BaseSecretKeyFactory
-
-
Method Details
-
engineGenerateSecret
- Specified by:
engineGenerateSecret
in classSecretKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGetKeySpec
- Specified by:
engineGetKeySpec
in classSecretKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKey
in classSecretKeyFactorySpi
- Throws:
InvalidKeyException
-