Class JceKeyAgreeAuthEnvelopedRecipient

  • All Implemented Interfaces:
    KeyAgreeRecipient, Recipient

    public class JceKeyAgreeAuthEnvelopedRecipient
    extends JceKeyAgreeRecipient
    A recipient class for CMS authenticated enveloped data using key agreement (Key Agreement Recipient). Handles private key-based key extraction and content decryption.
    • Constructor Detail

      • JceKeyAgreeAuthEnvelopedRecipient

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

      • getRecipientOperator

        public RecipientOperator getRecipientOperator​(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
                                                      org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
                                                      org.bouncycastle.asn1.x509.SubjectPublicKeyInfo senderPublicKey,
                                                      org.bouncycastle.asn1.ASN1OctetString userKeyingMaterial,
                                                      byte[] encryptedContentKey)
                                               throws CMSException
        Throws:
        CMSException