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, getRID
public String getKeyDerivationAlgOID()
public byte[] getKeyDerivationAlgParams()
public AlgorithmParameters getKeyDerivationAlgParameters(String provider) throws NoSuchProviderException
NoSuchProviderException
public AlgorithmParameters getKeyDerivationAlgParameters(Provider provider)
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.