org.bouncycastle.cms

Class KeyTransRecipientInformation

public class KeyTransRecipientInformation extends RecipientInformation

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.
Constructor Summary
KeyTransRecipientInformation(KeyTransRecipientInfo info, AlgorithmIdentifier encAlg, InputStream data)
Method Summary
CMSTypedStreamgetContentStream(Key key, String prov)
decrypt the content and return it as a byte array.

Constructor Detail

KeyTransRecipientInformation

public KeyTransRecipientInformation(KeyTransRecipientInfo info, AlgorithmIdentifier encAlg, InputStream data)

Method Detail

getContentStream

public CMSTypedStream getContentStream(Key key, String prov)
decrypt the content and return it as a byte array.