Class BcAsymmetricKeyUnwrapper

java.lang.Object
org.spongycastle.operator.AsymmetricKeyUnwrapper
org.spongycastle.operator.bc.BcAsymmetricKeyUnwrapper
All Implemented Interfaces:
KeyUnwrapper
Direct Known Subclasses:
BcRSAAsymmetricKeyUnwrapper

public abstract class BcAsymmetricKeyUnwrapper extends AsymmetricKeyUnwrapper
  • Constructor Details

    • BcAsymmetricKeyUnwrapper

      public BcAsymmetricKeyUnwrapper(org.spongycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.spongycastle.crypto.params.AsymmetricKeyParameter privateKey)
  • Method Details

    • generateUnwrappedKey

      public GenericKey generateUnwrappedKey(org.spongycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException
      Throws:
      OperatorException
    • createAsymmetricUnwrapper

      protected abstract org.spongycastle.crypto.AsymmetricBlockCipher createAsymmetricUnwrapper(org.spongycastle.asn1.ASN1ObjectIdentifier algorithm)