Bouncy Castle Cryptography Library 1.39 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.bouncycastle.cms.RecipientInformation
org.bouncycastle.cms.KeyTransRecipientInformation
public class KeyTransRecipientInformation
extends RecipientInformation
Field Summary |
Fields inherited from class org.bouncycastle.cms.RecipientInformation | |
_data , _encAlg , _keyEncAlg , _rid |
Constructor Summary | |
|
Method Summary | |
CMSTypedStream |
|
Methods inherited from class org.bouncycastle.cms.RecipientInformation | |
getContent , getContentFromSessionKey , getContentStream , getKeyEncryptionAlgOID , getKeyEncryptionAlgParams , getKeyEncryptionAlgorithmParameters , getRID |
public KeyTransRecipientInformation(KeyTransRecipientInfo info, AlgorithmIdentifier encAlg, InputStream data)
public CMSTypedStream getContentStream(Key key, String prov) throws CMSException, NoSuchProviderException
decrypt the content and return it as a byte array.
- Overrides:
- getContentStream in interface RecipientInformation