public class

KeyAgreeRecipientInformation

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

Class Overview

the RecipientInfo class for a recipient who has been sent a message encrypted using key agreement.

Summary

[Expand]
Inherited Fields
From class org.bouncycastle.cms.RecipientInformation
Public Methods
CMSTypedStream getContentStream(Key key, Provider prov)
This method is deprecated. use getContentStream(Recipient) method
CMSTypedStream getContentStream(Key key, String prov)
This method is deprecated. use getContentStream(Recipient) method
Protected Methods
RecipientOperator getRecipientOperator(Recipient recipient)
Key getSessionKey(Key receiverPrivateKey, Provider prov)
[Expand]
Inherited Methods
From class org.bouncycastle.cms.RecipientInformation
From class java.lang.Object

Public Methods

public CMSTypedStream getContentStream (Key key, Provider prov)

This method is deprecated.
use getContentStream(Recipient) method

decrypt the content and return it

Throws
CMSException

public CMSTypedStream getContentStream (Key key, String prov)

This method is deprecated.
use getContentStream(Recipient) method

decrypt the content and return it

Protected Methods

protected RecipientOperator getRecipientOperator (Recipient recipient)

protected Key getSessionKey (Key receiverPrivateKey, Provider prov)

Throws
CMSException