public class KEKRecipientInformation extends RecipientInformation
| Modifier and Type | Field and Description |
|---|---|
private AlgorithmIdentifier |
_encAlg |
private KEKRecipientInfo |
_info |
_data, _keyEncAlg, _rid| Constructor and Description |
|---|
KEKRecipientInformation(KEKRecipientInfo info,
AlgorithmIdentifier encAlg,
java.io.InputStream data) |
| Modifier and Type | Method and Description |
|---|---|
CMSTypedStream |
getContentStream(java.security.Key key,
java.lang.String prov)
decrypt the content and return an input stream.
|
getContent, getContentFromSessionKey, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getRIDprivate KEKRecipientInfo _info
private AlgorithmIdentifier _encAlg
public KEKRecipientInformation(KEKRecipientInfo info, AlgorithmIdentifier encAlg, java.io.InputStream data)
public CMSTypedStream getContentStream(java.security.Key key, java.lang.String prov) throws CMSException, java.security.NoSuchProviderException
getContentStream in class RecipientInformationCMSExceptionjava.security.NoSuchProviderExceptionCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.