org.bouncycastle.cms

Class KeyAgreeRecipientInformation

public class KeyAgreeRecipientInformation extends RecipientInformation

the RecipientInfo class for a recipient who has been sent a message encrypted using key agreement.
Constructor Summary
KeyAgreeRecipientInformation(KeyAgreeRecipientInfo info, AlgorithmIdentifier encAlg, InputStream data)
Method Summary
CMSTypedStreamgetContentStream(Key key, String prov)
decrypt the content and return an input stream.

Constructor Detail

KeyAgreeRecipientInformation

public KeyAgreeRecipientInformation(KeyAgreeRecipientInfo info, AlgorithmIdentifier encAlg, InputStream data)

Method Detail

getContentStream

public CMSTypedStream getContentStream(Key key, String prov)
decrypt the content and return an input stream.