java.lang.Object | |
↳ | org.bouncycastle.cms.RecipientInformation |
Known Direct Subclasses |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
keyEncAlg | |||||||||||
messageAlgorithm | |||||||||||
rid |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
use getContent(Recipient)
| |||||||||||
This method is deprecated.
use getContent(Recipient)
| |||||||||||
Return the decrypted/encapsulated content in the EnvelopedData after recovering the content
encryption/MAC key using the passed in Recipient.
| |||||||||||
Return the content digest calculated during the read of the content if one has been generated.
| |||||||||||
Return a CMSTypedStream representing the content in the EnvelopedData after recovering the content
encryption/MAC key using the passed in Recipient.
| |||||||||||
This method is deprecated.
use getContentStream(Recipient) method
| |||||||||||
This method is deprecated.
use getContentStream(Recipient) method
| |||||||||||
return the object identifier for the key encryption algorithm.
| |||||||||||
return the ASN.1 encoded key encryption algorithm parameters, or null if
there aren't any.
| |||||||||||
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the key this recipient holds.
| |||||||||||
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the key this recipient holds.
| |||||||||||
Return the MAC calculated for the recipient.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Return the decrypted/encapsulated content in the EnvelopedData after recovering the content encryption/MAC key using the passed in Recipient.
recipient | recipient object to use to recover content encryption key |
---|
CMSException | if the content-encryption/MAC key cannot be recovered. |
---|
Return the content digest calculated during the read of the content if one has been generated. This will only happen if we are dealing with authenticated data and authenticated attributes are present.
Return a CMSTypedStream representing the content in the EnvelopedData after recovering the content encryption/MAC key using the passed in Recipient.
recipient | recipient object to use to recover content encryption key |
---|
CMSException | if the content-encryption/MAC key cannot be recovered. |
---|---|
IOException |
This method is deprecated.
use getContentStream(Recipient) method
decrypt the content and return it
CMSException |
---|
This method is deprecated.
use getContentStream(Recipient) method
decrypt the content and return it
return the object identifier for the key encryption algorithm.
return the ASN.1 encoded key encryption algorithm parameters, or null if there aren't any.
Return an AlgorithmParameters object giving the encryption parameters used to encrypt the key this recipient holds.
provider | the provider to generate the parameters for. |
---|
CMSException | if the algorithm cannot be found, or the parameters can't be parsed. |
---|---|
NoSuchProviderException | if the provider cannot be found. |
Return an AlgorithmParameters object giving the encryption parameters used to encrypt the key this recipient holds.
provider | the provider to generate the parameters for. |
---|
CMSException | if the algorithm cannot be found, or the parameters can't be parsed. |
---|
Return the MAC calculated for the recipient. Note: this call is only meaningful once all the content has been read.
CMSException | |
---|---|
IOException |