public class BcSymmetricKeyUnwrapper extends SymmetricKeyUnwrapper
Constructor and Description |
---|
BcSymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier wrappingAlgorithm,
org.bouncycastle.crypto.Wrapper wrapper,
org.bouncycastle.crypto.params.KeyParameter wrappingKey) |
Modifier and Type | Method and Description |
---|---|
GenericKey |
generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm,
byte[] encryptedKey) |
BcSymmetricKeyUnwrapper |
setSecureRandom(java.security.SecureRandom random) |
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