public class KeyAgreeRecipientInfo
extends com.objsys.asn1j.runtime.Asn1Type
| Modifier and Type | Field and Description |
|---|---|
AlgorithmIdentifier |
keyEncryptionAlgorithm |
OriginatorIdentifierOrKey |
originator |
RecipientEncryptedKeys |
recipientEncryptedKeys |
com.objsys.asn1j.runtime.Asn1OctetString |
ukm |
CMSVersion |
version |
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString, z| Constructor and Description |
|---|
KeyAgreeRecipientInfo() |
KeyAgreeRecipientInfo(CMSVersion version_,
OriginatorIdentifierOrKey originator_,
AlgorithmIdentifier keyEncryptionAlgorithm_,
RecipientEncryptedKeys recipientEncryptedKeys_)
This constructor is for required elements only.
|
KeyAgreeRecipientInfo(CMSVersion version_,
OriginatorIdentifierOrKey originator_,
com.objsys.asn1j.runtime.Asn1OctetString ukm_,
AlgorithmIdentifier keyEncryptionAlgorithm_,
RecipientEncryptedKeys recipientEncryptedKeys_)
This constructor sets all elements to references to the
given objects
|
KeyAgreeRecipientInfo(long version_,
OriginatorIdentifierOrKey originator_,
AlgorithmIdentifier keyEncryptionAlgorithm_,
RecipientEncryptedKeys recipientEncryptedKeys_)
This constructor is for required elements only.
|
KeyAgreeRecipientInfo(long version_,
OriginatorIdentifierOrKey originator_,
byte[] ukm_,
AlgorithmIdentifier keyEncryptionAlgorithm_,
RecipientEncryptedKeys recipientEncryptedKeys_)
This constructor allows primitive data to be passed for all
primitive elements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength) |
int |
encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer,
boolean explicit) |
void |
init() |
void |
print(java.io.PrintStream _out,
java.lang.String _varName,
int _level) |
public CMSVersion version
public OriginatorIdentifierOrKey originator
public com.objsys.asn1j.runtime.Asn1OctetString ukm
public AlgorithmIdentifier keyEncryptionAlgorithm
public RecipientEncryptedKeys recipientEncryptedKeys
public KeyAgreeRecipientInfo()
public KeyAgreeRecipientInfo(CMSVersion version_, OriginatorIdentifierOrKey originator_, com.objsys.asn1j.runtime.Asn1OctetString ukm_, AlgorithmIdentifier keyEncryptionAlgorithm_, RecipientEncryptedKeys recipientEncryptedKeys_)
public KeyAgreeRecipientInfo(CMSVersion version_, OriginatorIdentifierOrKey originator_, AlgorithmIdentifier keyEncryptionAlgorithm_, RecipientEncryptedKeys recipientEncryptedKeys_)
public KeyAgreeRecipientInfo(long version_,
OriginatorIdentifierOrKey originator_,
byte[] ukm_,
AlgorithmIdentifier keyEncryptionAlgorithm_,
RecipientEncryptedKeys recipientEncryptedKeys_)
public KeyAgreeRecipientInfo(long version_,
OriginatorIdentifierOrKey originator_,
AlgorithmIdentifier keyEncryptionAlgorithm_,
RecipientEncryptedKeys recipientEncryptedKeys_)
public void init()
public void decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
throws com.objsys.asn1j.runtime.Asn1Exception,
java.io.IOException
decode in interface com.objsys.asn1j.runtime.Asn1TypeIFdecode in class com.objsys.asn1j.runtime.Asn1Typecom.objsys.asn1j.runtime.Asn1Exceptionjava.io.IOExceptionpublic int encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer,
boolean explicit)
throws com.objsys.asn1j.runtime.Asn1Exception
encode in interface com.objsys.asn1j.runtime.Asn1TypeIFencode in class com.objsys.asn1j.runtime.Asn1Typecom.objsys.asn1j.runtime.Asn1Exceptionpublic void print(java.io.PrintStream _out,
java.lang.String _varName,
int _level)
print in interface com.objsys.asn1j.runtime.Asn1TypeIFprint in class com.objsys.asn1j.runtime.Asn1TypeCopyright © 2025. All rights reserved.