KeyUnwrapper
BcAESSymmetricKeyUnwrapper
public class BcSymmetricKeyUnwrapper extends SymmetricKeyUnwrapper
Constructor | Description |
---|---|
BcSymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm,
org.bouncycastle.crypto.Wrapper wrapper,
org.bouncycastle.crypto.params.KeyParameter wrappingKey) |
Modifier and Type | Method | Description |
---|---|---|
GenericKey |
generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm,
byte[] encryptedKey) |
|
BcSymmetricKeyUnwrapper |
setSecureRandom(java.security.SecureRandom random) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithmIdentifier
public BcSymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm, org.bouncycastle.crypto.Wrapper wrapper, org.bouncycastle.crypto.params.KeyParameter wrappingKey)
public BcSymmetricKeyUnwrapper setSecureRandom(java.security.SecureRandom random)
public GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException
OperatorException