public class KeyAgreeRecipientInformation extends RecipientInformation
Modifier and Type | Field and Description |
---|---|
private AlgorithmIdentifier |
_encAlg |
private ASN1OctetString |
_encryptedKey |
private KeyAgreeRecipientInfo |
_info |
_data, _keyEncAlg, _rid
Constructor and Description |
---|
KeyAgreeRecipientInformation(KeyAgreeRecipientInfo 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, getRID
private KeyAgreeRecipientInfo _info
private AlgorithmIdentifier _encAlg
private ASN1OctetString _encryptedKey
public KeyAgreeRecipientInformation(KeyAgreeRecipientInfo 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 RecipientInformation
CMSException
java.security.NoSuchProviderException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.