Bouncy Castle Cryptography Library 1.59

org.bouncycastle.operator.jcajce
Class JceKTSKeyUnwrapper

java.lang.Object
  |
  +--org.bouncycastle.operator.AsymmetricKeyUnwrapper
        |
        +--org.bouncycastle.operator.jcajce.JceKTSKeyUnwrapper
All Implemented Interfaces:
KeyUnwrapper

public class JceKTSKeyUnwrapper
extends AsymmetricKeyUnwrapper


Constructor Summary
JceKTSKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier, java.security.PrivateKey privKey, byte[] partyUInfo, byte[] partyVInfo)
           
 
Method Summary
 GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey)
           
 JceKTSKeyUnwrapper setProvider(java.security.Provider provider)
           
 JceKTSKeyUnwrapper setProvider(java.lang.String providerName)
           
 
Methods inherited from class org.bouncycastle.operator.AsymmetricKeyUnwrapper
getAlgorithmIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceKTSKeyUnwrapper

public JceKTSKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
                          java.security.PrivateKey privKey,
                          byte[] partyUInfo,
                          byte[] partyVInfo)
Method Detail

setProvider

public JceKTSKeyUnwrapper setProvider(java.security.Provider provider)

setProvider

public JceKTSKeyUnwrapper setProvider(java.lang.String providerName)

generateUnwrappedKey

public GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm,
                                       byte[] encryptedKey)
                                throws OperatorException

Bouncy Castle Cryptography Library 1.59