Bouncy Castle Cryptography Library 1.59

org.bouncycastle.operator.jcajce
Class JceSymmetricKeyWrapper

java.lang.Object
  |
  +--org.bouncycastle.operator.SymmetricKeyWrapper
        |
        +--org.bouncycastle.operator.jcajce.JceSymmetricKeyWrapper
All Implemented Interfaces:
KeyWrapper

public class JceSymmetricKeyWrapper
extends SymmetricKeyWrapper


Constructor Summary
JceSymmetricKeyWrapper(javax.crypto.SecretKey wrappingKey)
           
 
Method Summary
 byte[] generateWrappedKey(GenericKey encryptionKey)
           
 JceSymmetricKeyWrapper setProvider(java.security.Provider provider)
           
 JceSymmetricKeyWrapper setProvider(java.lang.String providerName)
           
 JceSymmetricKeyWrapper setSecureRandom(java.security.SecureRandom random)
           
 
Methods inherited from class org.bouncycastle.operator.SymmetricKeyWrapper
getAlgorithmIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceSymmetricKeyWrapper

public JceSymmetricKeyWrapper(javax.crypto.SecretKey wrappingKey)
Method Detail

setProvider

public JceSymmetricKeyWrapper setProvider(java.security.Provider provider)

setProvider

public JceSymmetricKeyWrapper setProvider(java.lang.String providerName)

setSecureRandom

public JceSymmetricKeyWrapper setSecureRandom(java.security.SecureRandom random)

generateWrappedKey

public byte[] generateWrappedKey(GenericKey encryptionKey)
                          throws OperatorException

Bouncy Castle Cryptography Library 1.59