Package org.bouncycastle.operator.jcajce
Class JceSymmetricKeyUnwrapper
java.lang.Object
org.bouncycastle.operator.SymmetricKeyUnwrapper
org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper
- All Implemented Interfaces:
KeyUnwrapper
-
Constructor Summary
ConstructorDescriptionJceSymmetricKeyUnwrapper
(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier, SecretKey secretKey) -
Method Summary
Modifier and TypeMethodDescriptiongenerateUnwrappedKey
(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) setProvider
(String providerName) setProvider
(Provider provider) Methods inherited from class org.bouncycastle.operator.SymmetricKeyUnwrapper
getAlgorithmIdentifier
-
Constructor Details
-
JceSymmetricKeyUnwrapper
public JceSymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier, SecretKey secretKey)
-
-
Method Details
-
setProvider
-
setProvider
-
generateUnwrappedKey
public GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException - Throws:
OperatorException
-