public class BaseSecretKeyFactory extends javax.crypto.SecretKeyFactorySpi implements PBE
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
algName |
protected ASN1ObjectIdentifier |
algOid |
Modifier | Constructor and Description |
---|---|
protected |
BaseSecretKeyFactory(java.lang.String algName,
ASN1ObjectIdentifier algOid) |
Modifier and Type | Method and Description |
---|---|
protected javax.crypto.SecretKey |
engineGenerateSecret(java.security.spec.KeySpec keySpec) |
protected java.security.spec.KeySpec |
engineGetKeySpec(javax.crypto.SecretKey key,
java.lang.Class keySpec) |
protected javax.crypto.SecretKey |
engineTranslateKey(javax.crypto.SecretKey key) |
protected java.lang.String algName
protected ASN1ObjectIdentifier algOid
protected BaseSecretKeyFactory(java.lang.String algName, ASN1ObjectIdentifier algOid)
protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
engineGenerateSecret
in class javax.crypto.SecretKeyFactorySpi
java.security.spec.InvalidKeySpecException
protected java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class keySpec) throws java.security.spec.InvalidKeySpecException
engineGetKeySpec
in class javax.crypto.SecretKeyFactorySpi
java.security.spec.InvalidKeySpecException
protected javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey key) throws java.security.InvalidKeyException
engineTranslateKey
in class javax.crypto.SecretKeyFactorySpi
java.security.InvalidKeyException