Package 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.
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.cms.RecipientInformation
keyEncAlg, messageAlgorithm, rid, secureReadable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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
- Specified by:
getRecipientOperator
in classRecipientInformation
- Throws:
CMSException
java.io.IOException
-
-