public class PasswordRecipientInformation extends RecipientInformation
keyEncAlg, messageAlgorithm, rid, secureReadable| Modifier and Type | Method and Description |
|---|---|
CMSTypedStream |
getContentStream(java.security.Key key,
java.security.Provider prov)
Deprecated.
use getContentStream(Recipient)
|
CMSTypedStream |
getContentStream(java.security.Key key,
java.lang.String prov)
Deprecated.
use getContentStream(Recipient)
|
java.lang.String |
getKeyDerivationAlgOID()
return the object identifier for the key derivation algorithm, or null
if there is none present.
|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getKeyDerivationAlgorithm()
Return the key derivation algorithm details for the key in this recipient.
|
java.security.AlgorithmParameters |
getKeyDerivationAlgParameters(java.security.Provider provider)
Deprecated.
use getKeyDerivationAlgorithm and JceAlgorithmIdentifierConverter().
|
java.security.AlgorithmParameters |
getKeyDerivationAlgParameters(java.lang.String provider)
Deprecated.
use getKeyDerivationAlgorithm and JceAlgorithmIdentifierConverter().
|
byte[] |
getKeyDerivationAlgParams()
return the ASN.1 encoded key derivation algorithm parameters, or null if
there aren't any.
|
protected byte[] |
getPasswordBytes(int scheme,
char[] password) |
protected RecipientOperator |
getRecipientOperator(Recipient recipient) |
getContent, getContent, getContent, getContentDigest, getContentStream, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithm, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getMac, getRIDpublic java.lang.String getKeyDerivationAlgOID()
public byte[] getKeyDerivationAlgParams()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKeyDerivationAlgorithm()
public java.security.AlgorithmParameters getKeyDerivationAlgParameters(java.lang.String provider)
throws java.security.NoSuchProviderException
java.security.NoSuchProviderExceptionpublic java.security.AlgorithmParameters getKeyDerivationAlgParameters(java.security.Provider provider)
public 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.IOExceptionprotected byte[] getPasswordBytes(int scheme,
char[] password)