public class

KEKRecipientInformation

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

Class Overview

the RecipientInfo class for a recipient who has been sent a message encrypted using a secret key known to the other side.

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)
[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 an input stream.

Throws
CMSException

public CMSTypedStream getContentStream (Key key, String prov)

This method is deprecated.
use getContentStream(Recipient) method

decrypt the content and return an input stream.

Protected Methods

protected RecipientOperator getRecipientOperator (Recipient recipient)