Bouncy Castle Cryptography Library 1.60

org.bouncycastle.operator.bc
Class BcSymmetricKeyWrapper

java.lang.Object
  |
  +--org.bouncycastle.operator.SymmetricKeyWrapper
        |
        +--org.bouncycastle.operator.bc.BcSymmetricKeyWrapper
All Implemented Interfaces:
KeyWrapper
Direct Known Subclasses:
BcAESSymmetricKeyWrapper

public class BcSymmetricKeyWrapper
extends SymmetricKeyWrapper


Constructor Summary
BcSymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm, org.bouncycastle.crypto.Wrapper wrapper, org.bouncycastle.crypto.params.KeyParameter wrappingKey)
           
 
Method Summary
 byte[] generateWrappedKey(GenericKey encryptionKey)
           
 BcSymmetricKeyWrapper 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

BcSymmetricKeyWrapper

public BcSymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm,
                             org.bouncycastle.crypto.Wrapper wrapper,
                             org.bouncycastle.crypto.params.KeyParameter wrappingKey)
Method Detail

setSecureRandom

public BcSymmetricKeyWrapper setSecureRandom(java.security.SecureRandom random)

generateWrappedKey

public byte[] generateWrappedKey(GenericKey encryptionKey)
                          throws OperatorException

Bouncy Castle Cryptography Library 1.60