|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.cms.RecipientInformation
Field Summary | |
protected org.bouncycastle.asn1.x509.AlgorithmIdentifier |
keyEncAlg
|
protected org.bouncycastle.asn1.x509.AlgorithmIdentifier |
messageAlgorithm
|
protected RecipientId |
rid
|
protected org.bouncycastle.cms.CMSSecureReadable |
secureReadable
|
Method Summary | |
byte[] |
getContent(Recipient recipient)
Return the decrypted/encapsulated content in the EnvelopedData after recovering the content encryption/MAC key using the passed in Recipient. |
byte[] |
getContentDigest()
Return the content digest calculated during the read of the content if one has been generated. |
CMSTypedStream |
getContentStream(Recipient recipient)
Return a CMSTypedStream representing the content in the EnvelopedData after recovering the content encryption/MAC key using the passed in Recipient. |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType()
Return the content type of the encapsulated data accessed by this recipient. |
java.lang.String |
getKeyEncryptionAlgOID()
return the object identifier for the key encryption algorithm. |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getKeyEncryptionAlgorithm()
Return the key encryption algorithm details for the key in this recipient. |
byte[] |
getKeyEncryptionAlgParams()
return the ASN.1 encoded key encryption algorithm parameters, or null if there aren't any. |
byte[] |
getMac()
Return the MAC calculated for the recipient. |
protected abstract RecipientOperator |
getRecipientOperator(Recipient recipient)
|
RecipientId |
getRID()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected RecipientId rid
protected org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlg
protected org.bouncycastle.asn1.x509.AlgorithmIdentifier messageAlgorithm
protected org.bouncycastle.cms.CMSSecureReadable secureReadable
Method Detail |
public RecipientId getRID()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKeyEncryptionAlgorithm()
public java.lang.String getKeyEncryptionAlgOID()
public byte[] getKeyEncryptionAlgParams()
public byte[] getContentDigest()
public byte[] getMac()
public byte[] getContent(Recipient recipient) throws CMSException
recipient
- recipient object to use to recover content encryption keyCMSException
- if the content-encryption/MAC key cannot be recovered.public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
public CMSTypedStream getContentStream(Recipient recipient) throws CMSException, java.io.IOException
recipient
- recipient object to use to recover content encryption keyCMSException
- if the content-encryption/MAC key cannot be recovered.protected abstract RecipientOperator getRecipientOperator(Recipient recipient) throws CMSException, java.io.IOException
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |