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 Detail

      • JceKEMAuthEnvelopedRecipient

        public JceKEMAuthEnvelopedRecipient​(java.security.PrivateKey recipientKey)
    • Method Detail

      • getRecipientOperator

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