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
public class BaseSecretKeyFactory extends javax.crypto.SecretKeyFactorySpi implements PBE
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringalgNameprotected ASN1ObjectIdentifieralgOid 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedBaseSecretKeyFactory(java.lang.String algName, ASN1ObjectIdentifier algOid) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.crypto.SecretKeyengineGenerateSecret(java.security.spec.KeySpec keySpec)protected java.security.spec.KeySpecengineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class keySpec)protected javax.crypto.SecretKeyengineTranslateKey(javax.crypto.SecretKey key) 
 - 
 
- 
- 
Field Detail
- 
algName
protected java.lang.String algName
 
- 
algOid
protected ASN1ObjectIdentifier algOid
 
 - 
 
- 
Constructor Detail
- 
BaseSecretKeyFactory
protected BaseSecretKeyFactory(java.lang.String algName, ASN1ObjectIdentifier algOid) 
 - 
 
- 
Method Detail
- 
engineGenerateSecret
protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException- Specified by:
 engineGenerateSecretin classjavax.crypto.SecretKeyFactorySpi- Throws:
 java.security.spec.InvalidKeySpecException
 
- 
engineGetKeySpec
protected java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class keySpec) throws java.security.spec.InvalidKeySpecException- Specified by:
 engineGetKeySpecin classjavax.crypto.SecretKeyFactorySpi- Throws:
 java.security.spec.InvalidKeySpecException
 
- 
engineTranslateKey
protected javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey key) throws java.security.InvalidKeyException- Specified by:
 engineTranslateKeyin classjavax.crypto.SecretKeyFactorySpi- Throws:
 java.security.InvalidKeyException
 
 - 
 
 -