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) |
getAlgorithmIdentifierpublic BcAsymmetricKeyUnwrapper(AlgorithmIdentifier encAlgId, AsymmetricKeyParameter privateKey)
public GenericKey generateUnwrappedKey(AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException
OperatorExceptionprotected abstract AsymmetricBlockCipher createAsymmetricUnwrapper(ASN1ObjectIdentifier algorithm)
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.