public class KeyTransRecipientInformation extends RecipientInformation
Modifier and Type | Field and Description |
---|---|
private AlgorithmIdentifier |
_encAlg |
private KeyTransRecipientInfo |
_info |
_data, _keyEncAlg, _rid
Constructor and Description |
---|
KeyTransRecipientInformation(KeyTransRecipientInfo 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 it as a byte array.
|
private java.lang.String |
getExchangeEncryptionAlgorithmName(DERObjectIdentifier oid) |
getContent, getContentFromSessionKey, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getRID
private KeyTransRecipientInfo _info
private AlgorithmIdentifier _encAlg
public KeyTransRecipientInformation(KeyTransRecipientInfo info, AlgorithmIdentifier encAlg, java.io.InputStream data)
private java.lang.String getExchangeEncryptionAlgorithmName(DERObjectIdentifier oid)
public CMSTypedStream getContentStream(java.security.Key key, java.lang.String prov) throws CMSException, java.security.NoSuchProviderException
getContentStream
in class RecipientInformation
CMSException
java.security.NoSuchProviderException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.