Class JceKEMAuthEnvelopedRecipient

All Implemented Interfaces:
KEMRecipient, Recipient

public class JceKEMAuthEnvelopedRecipient extends JceKEMRecipient
The KEM (RFC 9629 KEMRecipientInfo) recipient for CMS AuthEnvelopedData: decapsulates the key-encryption key and returns an AEAD input decryptor (e.g. AES-GCM) that verifies the authentication tag, the AuthEnveloped counterpart of JceKEMEnvelopedRecipient.
  • Constructor Details

    • JceKEMAuthEnvelopedRecipient

      public JceKEMAuthEnvelopedRecipient(PrivateKey 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