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