public class KEKRecipientInformation extends RecipientInformation
keyEncAlg, messageAlgorithm, rid
Modifier and Type | Method and Description |
---|---|
CMSTypedStream |
getContentStream(Key key,
Provider prov)
decrypt the content and return an input stream.
|
CMSTypedStream |
getContentStream(Key key,
String prov)
decrypt the content and return an input stream.
|
protected RecipientOperator |
getRecipientOperator(Recipient recipient) |
getContent, getContent, getContent, getContentDigest, getContentFromSessionKey, getContentStream, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getMac, getRID
public CMSTypedStream getContentStream(Key key, String prov) throws CMSException, NoSuchProviderException
getContentStream
in class RecipientInformation
CMSException
NoSuchProviderException
public CMSTypedStream getContentStream(Key key, Provider prov) throws CMSException
getContentStream
in class RecipientInformation
CMSException
protected RecipientOperator getRecipientOperator(Recipient recipient) throws CMSException, IOException
getRecipientOperator
in class RecipientInformation
CMSException
IOException
Copyright © 2015. All rights reserved.