public abstract class CMSRecipientInfo
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object
A CMSRecipientInfo supports differents key management techniques:
CMSKeyTransRecipientInfoKey Agreement - CMSKeyAgreeRecipientInfo (Will be Supported in the next Release) oracle.security.crypto.cert.cms.CMSKeyAgreeRecipientInfoCMSKEKRecipientInfo,| Constructor and Description |
|---|
CMSRecipientInfo()
Create an empty
CMSRecipientInfo. |
CMSRecipientInfo(java.io.InputStream is)
Create a new
CMSRecipientInfo by reading the BER encoding from the specified input stream. |
| Modifier and Type | Method and Description |
|---|---|
abstract oracle.security.crypto.asn1.ASN1Integer |
getVersion()
Returns the Version of the CMSRecipientInfo.
|
void |
input(java.io.InputStream is)
Read the BER encoded
CMSRecipientInfo structure from the input stream. |
static CMSRecipientInfo |
inputInstance(java.io.InputStream is)
Create and intialize a
CMSRecipientInfo by reading the BER encoding from the specified input stream. |
protected abstract void |
inputRecipientInfo(java.io.InputStream is)
Reads the CMSRecipientInfo structure.
|
public CMSRecipientInfo()
CMSRecipientInfo.
public CMSRecipientInfo(java.io.InputStream is)
throws java.io.IOException
CMSRecipientInfo by reading the BER encoding from the specified input stream.is - The input stream.java.io.IOException - The encoding is incorrect or an I/O error occurs.
public void input(java.io.InputStream is)
throws java.io.IOException
CMSRecipientInfo structure from the input stream.input in interface oracle.security.crypto.util.Streamableis - The input stream.java.io.IOException - The input encoding is incorrect or an I/O error occurs.public static CMSRecipientInfo inputInstance(java.io.InputStream is) throws java.io.IOException
CMSRecipientInfo by reading the BER encoding from the specified input stream.is - The input stream.java.io.IOException - The encoding is incorrect or an I/O error occurs.
protected abstract void inputRecipientInfo(java.io.InputStream is)
throws java.io.IOException
The input stream is positioned at the beginning of the tag octet of the SEQUENCE encoding.
is - The input stream.java.io.IOException - The encoding is incorrect or an I/O error occurs.public abstract oracle.security.crypto.asn1.ASN1Integer getVersion()