Class JceKeyAgreeAuthEnvelopedRecipient

java.lang.Object
org.bouncycastle.cms.jcajce.JceKeyAgreeRecipient
org.bouncycastle.cms.jcajce.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 Details

    • JceKeyAgreeAuthEnvelopedRecipient

      public JceKeyAgreeAuthEnvelopedRecipient(PrivateKey recipientKey)
  • Method Details

    • 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