|
Bouncy Castle Cryptography 1.26 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.cms.RecipientInformation
org.bouncycastle.cms.KeyTransRecipientInformation
the KeyTransRecipientInformation class for a recipient who has been sent a secret key encrypted using their public key that needs to be used to extract the message.
| Field Summary |
| Fields inherited from class org.bouncycastle.cms.RecipientInformation |
data, keyEncAlg, rid |
| Constructor Summary | |
KeyTransRecipientInformation(org.bouncycastle.asn1.cms.KeyTransRecipientInfo info,
org.bouncycastle.asn1.cms.EncryptedContentInfo data)
|
|
| Method Summary | |
byte[] |
getContent(java.security.Key key,
java.lang.String prov)
decrypt the content and return it as a byte array. |
| Methods inherited from class org.bouncycastle.cms.RecipientInformation |
getContentFromSessionKey, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getRID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeyTransRecipientInformation(org.bouncycastle.asn1.cms.KeyTransRecipientInfo info,
org.bouncycastle.asn1.cms.EncryptedContentInfo data)
| Method Detail |
public byte[] getContent(java.security.Key key,
java.lang.String prov)
throws CMSException,
java.security.NoSuchProviderException
getContent in class RecipientInformationCMSException
java.security.NoSuchProviderException
|
Bouncy Castle Cryptography 1.26 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||