public class BaseSecretKeyFactory extends SecretKeyFactorySpi implements PBE
Modifier and Type | Field and Description |
---|---|
protected String |
algName |
protected ASN1ObjectIdentifier |
algOid |
Modifier | Constructor and Description |
---|---|
protected |
BaseSecretKeyFactory(String algName,
ASN1ObjectIdentifier algOid) |
Modifier and Type | Method and Description |
---|---|
protected SecretKey |
engineGenerateSecret(KeySpec keySpec) |
protected KeySpec |
engineGetKeySpec(SecretKey key,
Class keySpec) |
protected SecretKey |
engineTranslateKey(SecretKey key) |
protected String algName
protected ASN1ObjectIdentifier algOid
protected BaseSecretKeyFactory(String algName, ASN1ObjectIdentifier algOid)
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException
engineGenerateSecret
in class SecretKeyFactorySpi
InvalidKeySpecException
protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) throws InvalidKeySpecException
engineGetKeySpec
in class SecretKeyFactorySpi
InvalidKeySpecException
protected SecretKey engineTranslateKey(SecretKey key) throws InvalidKeyException
engineTranslateKey
in class SecretKeyFactorySpi
InvalidKeyException
Copyright © 2020 BouncyCastle.org. All rights reserved.