kz.gamma.cms
Class KeyAgreeRecipientInformation
java.lang.Object
kz.gamma.cms.RecipientInformation
kz.gamma.cms.KeyAgreeRecipientInformation
public class KeyAgreeRecipientInformation
- extends RecipientInformation
the RecipientInfo class for a recipient who has been sent a message
encrypted using key agreement.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_info
private KeyAgreeRecipientInfo _info
_encAlg
private AlgorithmIdentifier _encAlg
_encryptedKey
private ASN1OctetString _encryptedKey
KeyAgreeRecipientInformation
public KeyAgreeRecipientInformation(KeyAgreeRecipientInfo info,
AlgorithmIdentifier encAlg,
java.io.InputStream data)
getContentStream
public CMSTypedStream getContentStream(java.security.Key key,
java.lang.String prov)
throws CMSException,
java.security.NoSuchProviderException
- decrypt the content and return an input stream.
- Specified by:
getContentStream in class RecipientInformation
- Throws:
CMSException
java.security.NoSuchProviderException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.