public abstract class BcAsymmetricKeyUnwrapper extends AsymmetricKeyUnwrapper
Constructor and Description |
---|
BcAsymmetricKeyUnwrapper(AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter privateKey) |
Modifier and Type | Method and Description |
---|---|
protected abstract AsymmetricBlockCipher |
createAsymmetricUnwrapper(ASN1ObjectIdentifier algorithm) |
GenericKey |
generateUnwrappedKey(AlgorithmIdentifier encryptedKeyAlgorithm,
byte[] encryptedKey) |
getAlgorithmIdentifier
public BcAsymmetricKeyUnwrapper(AlgorithmIdentifier encAlgId, AsymmetricKeyParameter privateKey)
public GenericKey generateUnwrappedKey(AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException
OperatorException
protected abstract AsymmetricBlockCipher createAsymmetricUnwrapper(ASN1ObjectIdentifier algorithm)
Copyright © 2018 BouncyCastle.org. All rights reserved.