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 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 © 2015. All rights reserved.