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
ConstructorsConstructorDescriptionBcSymmetricKeyWrapper(AlgorithmIdentifier wrappingAlgorithm, Wrapper wrapper, 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(AlgorithmIdentifier wrappingAlgorithm, Wrapper wrapper, KeyParameter wrappingKey)
-
-
Method Details
-
setSecureRandom
-
generateWrappedKey
- Throws:
OperatorException
-