Package org.bouncycastle.cms
Class KeyAgreeRecipientInformation
java.lang.Object
org.bouncycastle.cms.RecipientInformation
org.bouncycastle.cms.KeyAgreeRecipientInformation
the RecipientInfo class for a recipient who has been sent a message
encrypted using key agreement.
-
Field Summary
Fields inherited from class org.bouncycastle.cms.RecipientInformation
keyEncAlg, messageAlgorithm, rid, secureReadable
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.cms.OriginatorIdentifierOrKey
Return the originator details for this recipient.protected RecipientOperator
getRecipientOperator
(Recipient recipient) byte[]
Return the userKeyingMaterial for this agreement recipient.Methods inherited from class org.bouncycastle.cms.RecipientInformation
getContent, getContentDigest, getContentStream, getContentType, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithm, getKeyEncryptionAlgParams, getMac, getRID
-
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 classRecipientInformation
- Throws:
CMSException
IOException
-