Class BcKEMEnvelopedRecipient

All Implemented Interfaces:
KEMRecipient, Recipient

public class BcKEMEnvelopedRecipient extends BcKEMRecipient
Recipient for EnvelopedData addressed with an RFC 9629 KEMRecipientInfo, using the light-weight API for both the ML-KEM decapsulation and the content decryption.
  • Constructor Details

    • BcKEMEnvelopedRecipient

      public BcKEMEnvelopedRecipient(org.bouncycastle.crypto.params.AsymmetricKeyParameter recipientKey)
  • Method Details

    • getRecipientOperator

      public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException
      Throws:
      CMSException