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
-
Constructor Summary
ConstructorDescriptionBcSymmetricKeyWrapper
(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm, org.bouncycastle.crypto.Wrapper wrapper, org.bouncycastle.crypto.params.KeyParameter wrappingKey) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
generateWrappedKey
(GenericKey encryptionKey) setSecureRandom
(SecureRandom random) Methods inherited from class org.bouncycastle.operator.SymmetricKeyWrapper
getAlgorithmIdentifier
-
Constructor Details
-
BcSymmetricKeyWrapper
public BcSymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm, org.bouncycastle.crypto.Wrapper wrapper, org.bouncycastle.crypto.params.KeyParameter wrappingKey)
-
-
Method Details
-
setSecureRandom
-
generateWrappedKey
- Throws:
OperatorException
-