public class JCESecretKeyFactory extends SecretKeyFactorySpi implements PBE
| Modifier and Type | Field and Description |
|---|---|
protected String |
algName |
protected DERObjectIdentifier |
algOid |
| Modifier | Constructor and Description |
|---|---|
protected |
JCESecretKeyFactory(String algName,
DERObjectIdentifier 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 DERObjectIdentifier algOid
protected JCESecretKeyFactory(String algName, DERObjectIdentifier algOid)
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException
engineGenerateSecret in class SecretKeyFactorySpiInvalidKeySpecExceptionprotected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) throws InvalidKeySpecException
engineGetKeySpec in class SecretKeyFactorySpiInvalidKeySpecExceptionprotected SecretKey engineTranslateKey(SecretKey key) throws InvalidKeyException
engineTranslateKey in class SecretKeyFactorySpiInvalidKeyExceptionCopyright © 2015. All rights reserved.