KeyAgreeRecipient (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.cms

## Interface KeyAgreeRecipient

- All Superinterfaces:
    Recipient
  All Known Implementing Classes:
    JceKeyAgreeAuthenticatedRecipient, JceKeyAgreeEnvelopedRecipient, JceKeyAgreeRecipient

      public interface KeyAgreeRecipient
      extends Recipient

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.bouncycastle.asn1.x509.AlgorithmIdentifier` | `getPrivateKeyAlgorithmIdentifier()`
    `RecipientOperator` | `getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo senderPublicKey, org.bouncycastle.asn1.ASN1OctetString userKeyingMaterial, byte[] encryptedContentKey)`

- - ### Method Detail

    - #### getRecipientOperator

          RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlg,
                                               org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
                                               org.bouncycastle.asn1.x509.SubjectPublicKeyInfo senderPublicKey,
                                               org.bouncycastle.asn1.ASN1OctetString userKeyingMaterial,
                                               byte[] encryptedContentKey)
                                                 throws CMSException

      Throws:
        `CMSException`

    - #### getPrivateKeyAlgorithmIdentifier

          org.bouncycastle.asn1.x509.AlgorithmIdentifier getPrivateKeyAlgorithmIdentifier()