Class KeyAgreeRecipientInformation

java.lang.Object
org.bouncycastle.cms.RecipientInformation
org.bouncycastle.cms.KeyAgreeRecipientInformation

public class KeyAgreeRecipientInformation extends RecipientInformation
the RecipientInfo class for a recipient who has been sent a message encrypted using key agreement.
  • Method Details

    • getOriginator

      public org.bouncycastle.asn1.cms.OriginatorIdentifierOrKey getOriginator()
      Return the originator details for this recipient.
      Returns:
      the originator details.
    • getUserKeyingMaterial

      public byte[] getUserKeyingMaterial()
      Return the userKeyingMaterial for this agreement recipient.
      Returns:
      the user keying material, null if absent.
    • getRecipientOperator

      protected RecipientOperator getRecipientOperator(Recipient recipient) throws CMSException, IOException
      Specified by:
      getRecipientOperator in class RecipientInformation
      Throws:
      CMSException
      IOException