|
Bouncy Castle Cryptography 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bouncycastle.cms.RecipientInformation org.bouncycastle.cms.KeyTransRecipientInformation
public class 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 |
---|
keyEncAlg, messageAlgorithm, rid |
Method Summary | |
---|---|
CMSTypedStream |
getContentStream(java.security.Key key,
java.security.Provider prov)
Deprecated. use getContentStream(Recipient) method |
CMSTypedStream |
getContentStream(java.security.Key key,
java.lang.String prov)
Deprecated. use getContentStream(Recipient) method |
protected RecipientOperator |
getRecipientOperator(Recipient recipient)
|
protected java.security.Key |
getSessionKey(java.security.Key receiverPrivateKey,
java.security.Provider prov)
Deprecated. |
Methods inherited from class org.bouncycastle.cms.RecipientInformation |
---|
getContent, getContent, getContent, getContentDigest, getContentFromSessionKey, getContentStream, getKeyEncryptionAlgOID, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgorithmParameters, getKeyEncryptionAlgParams, getMac, getRID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected java.security.Key getSessionKey(java.security.Key receiverPrivateKey, java.security.Provider prov) throws CMSException
CMSException
public CMSTypedStream getContentStream(java.security.Key key, java.lang.String prov) throws CMSException, java.security.NoSuchProviderException
getContentStream
in class RecipientInformation
CMSException
java.security.NoSuchProviderException
public CMSTypedStream getContentStream(java.security.Key key, java.security.Provider prov) throws CMSException
getContentStream
in class RecipientInformation
CMSException
protected RecipientOperator getRecipientOperator(Recipient recipient) throws CMSException
getRecipientOperator
in class RecipientInformation
CMSException
|
Bouncy Castle Cryptography 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |