Top Fields Constructors Methods
org.bouncycastle.operator.bc

public Class BcSymmetricKeyUnwrapper

extends SymmetricKeyUnwrapper
Class Inheritance
Known Direct Subclasses
org.bouncycastle.operator.bc.BcAESSymmetricKeyUnwrapper
Imports
java.security.SecureRandom, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.InvalidCipherTextException, .Wrapper, org.bouncycastle.crypto.params.KeyParameter, org.bouncycastle.operator.GenericKey, .OperatorException, .SymmetricKeyUnwrapper

Field Summary

Modifier and TypeField and Description
private SecureRandom
private Wrapper
private KeyParameter

Constructor Summary

AccessConstructor and Description
public
BcSymmetricKeyUnwrapper(AlgorithmIdentifier wrappingAlgorithm, Wrapper wrapper, KeyParameter wrappingKey)

Method Summary

Modifier and TypeMethod and Description
public GenericKey
public BcSymmetricKeyUnwrapper
Inherited from org.bouncycastle.operator.SymmetricKeyUnwrapper:
getAlgorithmIdentifier

Field Detail

randomback to summary
private SecureRandom random
wrapperback to summary
private Wrapper wrapper
wrappingKeyback to summary
private KeyParameter wrappingKey

Constructor Detail

BcSymmetricKeyUnwrapperback to summary
public BcSymmetricKeyUnwrapper(AlgorithmIdentifier wrappingAlgorithm, Wrapper wrapper, KeyParameter wrappingKey)

Method Detail

generateUnwrappedKeyback to summary
public GenericKey generateUnwrappedKey(AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException

Implements org.bouncycastle.operator.KeyUnwrapper.generateUnwrappedKey.

setSecureRandomback to summary
public BcSymmetricKeyUnwrapper setSecureRandom(SecureRandom random)