public abstract class BcAsymmetricKeyUnwrapper extends AsymmetricKeyUnwrapper
Constructor and Description |
---|
BcAsymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId,
org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.bouncycastle.crypto.AsymmetricBlockCipher |
createAsymmetricUnwrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm) |
GenericKey |
generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm,
byte[] encryptedKey) |
getAlgorithmIdentifier
public BcAsymmetricKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.crypto.params.AsymmetricKeyParameter privateKey)
public GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException
OperatorException
protected abstract org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricUnwrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)