public class PasswordRecipientInformation extends RecipientInformation
keyEncAlg, messageAlgorithm, rid| Modifier and Type | Method and Description |
|---|---|
CMSTypedStream |
getContentStream(Key key,
Provider prov)
Deprecated.
use getContentStream(Recipient)
|
CMSTypedStream |
getContentStream(Key key,
String prov)
Deprecated.
use getContentStream(Recipient)
|
String |
getKeyDerivationAlgOID()
return the object identifier for the key derivation algorithm, or null
if there is none present.
|
AlgorithmParameters |
getKeyDerivationAlgParameters(Provider provider)
return an AlgorithmParameters object representing the parameters to the
key derivation algorithm to the recipient.
|
AlgorithmParameters |
getKeyDerivationAlgParameters(String provider)
return an AlgorithmParameters object representing the parameters to the
key derivation algorithm to the recipient.
|
byte[] |
getKeyDerivationAlgParams()
return the ASN.1 encoded key derivation algorithm parameters, or null if
there aren't any.
|
protected RecipientOperator |
getRecipientOperator(Recipient recipient) |
getContent, getContent, getContent, getContentDigest, getContentFromSessionKey, getContentStream, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getMac, getRIDpublic String getKeyDerivationAlgOID()
public byte[] getKeyDerivationAlgParams()
public AlgorithmParameters getKeyDerivationAlgParameters(String provider) throws NoSuchProviderException
NoSuchProviderExceptionpublic AlgorithmParameters getKeyDerivationAlgParameters(Provider provider)
public CMSTypedStream getContentStream(Key key, String prov) throws CMSException, NoSuchProviderException
getContentStream in class RecipientInformationCMSExceptionNoSuchProviderExceptionpublic CMSTypedStream getContentStream(Key key, Provider prov) throws CMSException
getContentStream in class RecipientInformationCMSExceptionprotected RecipientOperator getRecipientOperator(Recipient recipient) throws CMSException, IOException
getRecipientOperator in class RecipientInformationCMSExceptionIOExceptionCopyright © 2015. All rights reserved.