public class KeyAgreeRecipientInformation extends RecipientInformation
keyEncAlg, messageAlgorithm, rid| Modifier and Type | Method and Description |
|---|---|
CMSTypedStream |
getContentStream(java.security.Key key,
java.security.Provider prov)
Deprecated.
use getContentStream(Recipient) method
|
CMSTypedStream |
getContentStream(java.security.Key key,
java.lang.String prov)
Deprecated.
use getContentStream(Recipient) method
|
protected RecipientOperator |
getRecipientOperator(Recipient recipient) |
protected java.security.Key |
getSessionKey(java.security.Key receiverPrivateKey,
java.security.Provider prov) |
getContent, getContent, getContent, getContentDigest, getContentFromSessionKey, getContentStream, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getMac, getRIDprotected java.security.Key getSessionKey(java.security.Key receiverPrivateKey,
java.security.Provider prov)
throws CMSException
CMSExceptionpublic CMSTypedStream getContentStream(java.security.Key key, java.lang.String prov) throws CMSException, java.security.NoSuchProviderException
getContentStream in class RecipientInformationCMSExceptionjava.security.NoSuchProviderExceptionpublic CMSTypedStream getContentStream(java.security.Key key, java.security.Provider prov) throws CMSException
getContentStream in class RecipientInformationCMSExceptionprotected RecipientOperator getRecipientOperator(Recipient recipient) throws CMSException, java.io.IOException
getRecipientOperator in class RecipientInformationCMSExceptionjava.io.IOException