public class

KeyTransRecipientInformation

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

Class Overview

the KeyTransRecipientInformation class for a recipient who has been sent a secret key encrypted using their public key that needs to be used to extract the message.

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)
This method is deprecated. No replacement.
[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)

Throws
CMSException

protected Key getSessionKey (Key receiverPrivateKey, Provider prov)

This method is deprecated.
No replacement.

Throws
CMSException