|
|||||||||
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.KEKRecipientInformation
public class KEKRecipientInformation
the RecipientInfo class for a recipient who has been sent a message encrypted using a secret key known to the other side.
Field Summary |
---|
Fields inherited from class org.bouncycastle.cms.RecipientInformation |
---|
_data, _keyEncAlg, _rid |
Constructor Summary | |
---|---|
KEKRecipientInformation(org.bouncycastle.asn1.cms.KEKRecipientInfo info,
org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlg,
java.io.InputStream data)
|
Method Summary | |
---|---|
CMSTypedStream |
getContentStream(java.security.Key key,
java.lang.String prov)
decrypt the content and return an input stream. |
Methods inherited from class org.bouncycastle.cms.RecipientInformation |
---|
getContent, 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 KEKRecipientInformation(org.bouncycastle.asn1.cms.KEKRecipientInfo info, org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlg, java.io.InputStream data)
Method Detail |
---|
public CMSTypedStream getContentStream(java.security.Key key, java.lang.String prov) throws CMSException, java.security.NoSuchProviderException
getContentStream
in class RecipientInformation
CMSException
java.security.NoSuchProviderException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |