Package 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
Constructors Constructor Description BcSymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm, org.bouncycastle.crypto.Wrapper wrapper, org.bouncycastle.crypto.params.KeyParameter wrappingKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
generateWrappedKey(GenericKey encryptionKey)
BcSymmetricKeyWrapper
setSecureRandom(java.security.SecureRandom random)
-
Methods inherited from class org.bouncycastle.operator.SymmetricKeyWrapper
getAlgorithmIdentifier
-
-
-
-
Method Detail
-
setSecureRandom
public BcSymmetricKeyWrapper setSecureRandom(java.security.SecureRandom random)
-
generateWrappedKey
public byte[] generateWrappedKey(GenericKey encryptionKey) throws OperatorException
- Throws:
OperatorException
-
-