Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cms
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.


Fields inherited from class org.bouncycastle.cms.RecipientInformation
keyEncAlg, messageAlgorithm, rid, secureReadable
 
Method Summary
 org.bouncycastle.asn1.cms.OriginatorIdentifierOrKey getOriginator()
          Return the originator details for this recipient.
protected  RecipientOperator getRecipientOperator(Recipient recipient)
           
 byte[] getUserKeyingMaterial()
          Return the userKeyingMaterial for this agreement recipient.
 
Methods inherited from class org.bouncycastle.cms.RecipientInformation
getContent, getContentDigest, getContentStream, getContentType, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithm, getKeyEncryptionAlgParams, getMac, getRID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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,
                                                 java.io.IOException
Overrides:
getRecipientOperator in class RecipientInformation

Bouncy Castle Cryptography Library 1.79