Class JceKEKAuthEnvelopedRecipient

  • All Implemented Interfaces:
    KEKRecipient, Recipient

    public class JceKEKAuthEnvelopedRecipient
    extends JceKEKRecipient
    A recipient for CMS authenticated enveloped data encrypted with a KEK (Key Encryption Key). Handles key extraction and decryption of the content.
    • Constructor Detail

      • JceKEKAuthEnvelopedRecipient

        public JceKEKAuthEnvelopedRecipient​(javax.crypto.SecretKey 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