Bouncy Castle Cryptography Library 1.60

org.bouncycastle.operator.jcajce
Class JceSymmetricKeyUnwrapper

java.lang.Object
  extended byorg.bouncycastle.operator.SymmetricKeyUnwrapper
      extended byorg.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper
All Implemented Interfaces:
KeyUnwrapper

public class JceSymmetricKeyUnwrapper
extends SymmetricKeyUnwrapper


Constructor Summary
JceSymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier, javax.crypto.SecretKey secretKey)
           
 
Method Summary
 GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey)
           
 JceSymmetricKeyUnwrapper setProvider(java.security.Provider provider)
           
 JceSymmetricKeyUnwrapper setProvider(java.lang.String providerName)
           
 
Methods inherited from class org.bouncycastle.operator.SymmetricKeyUnwrapper
getAlgorithmIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceSymmetricKeyUnwrapper

public JceSymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
                                javax.crypto.SecretKey secretKey)
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

Bouncy Castle Cryptography Library 1.60