public class AuthenticatedData
extends com.objsys.asn1j.runtime.Asn1Type
Modifier and Type | Field and Description |
---|---|
AuthAttributes |
authAttrs |
AlgorithmIdentifier |
digestAlgorithm |
EncapsulatedContentInfo |
encapContentInfo |
com.objsys.asn1j.runtime.Asn1OctetString |
mac |
AlgorithmIdentifier |
macAlgorithm |
OriginatorInfo |
originatorInfo |
RecipientInfos |
recipientInfos |
UnauthAttributes |
unauthAttrs |
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 |
---|
AuthenticatedData() |
AuthenticatedData(CMSVersion version_,
OriginatorInfo originatorInfo_,
RecipientInfos recipientInfos_,
AlgorithmIdentifier macAlgorithm_,
AlgorithmIdentifier digestAlgorithm_,
EncapsulatedContentInfo encapContentInfo_,
AuthAttributes authAttrs_,
com.objsys.asn1j.runtime.Asn1OctetString mac_,
UnauthAttributes unauthAttrs_)
This constructor sets all elements to references to the
given objects
|
AuthenticatedData(CMSVersion version_,
RecipientInfos recipientInfos_,
AlgorithmIdentifier macAlgorithm_,
EncapsulatedContentInfo encapContentInfo_,
com.objsys.asn1j.runtime.Asn1OctetString mac_)
This constructor is for required elements only.
|
AuthenticatedData(long version_,
OriginatorInfo originatorInfo_,
RecipientInfos recipientInfos_,
AlgorithmIdentifier macAlgorithm_,
AlgorithmIdentifier digestAlgorithm_,
EncapsulatedContentInfo encapContentInfo_,
AuthAttributes authAttrs_,
byte[] mac_,
UnauthAttributes unauthAttrs_)
This constructor allows primitive data to be passed for all
primitive elements.
|
AuthenticatedData(long version_,
RecipientInfos recipientInfos_,
AlgorithmIdentifier macAlgorithm_,
EncapsulatedContentInfo encapContentInfo_,
byte[] mac_)
This constructor is for required elements only.
|
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 OriginatorInfo originatorInfo
public RecipientInfos recipientInfos
public AlgorithmIdentifier macAlgorithm
public AlgorithmIdentifier digestAlgorithm
public EncapsulatedContentInfo encapContentInfo
public AuthAttributes authAttrs
public com.objsys.asn1j.runtime.Asn1OctetString mac
public UnauthAttributes unauthAttrs
public AuthenticatedData()
public AuthenticatedData(CMSVersion version_, OriginatorInfo originatorInfo_, RecipientInfos recipientInfos_, AlgorithmIdentifier macAlgorithm_, AlgorithmIdentifier digestAlgorithm_, EncapsulatedContentInfo encapContentInfo_, AuthAttributes authAttrs_, com.objsys.asn1j.runtime.Asn1OctetString mac_, UnauthAttributes unauthAttrs_)
public AuthenticatedData(CMSVersion version_, RecipientInfos recipientInfos_, AlgorithmIdentifier macAlgorithm_, EncapsulatedContentInfo encapContentInfo_, com.objsys.asn1j.runtime.Asn1OctetString mac_)
public AuthenticatedData(long version_, OriginatorInfo originatorInfo_, RecipientInfos recipientInfos_, AlgorithmIdentifier macAlgorithm_, AlgorithmIdentifier digestAlgorithm_, EncapsulatedContentInfo encapContentInfo_, AuthAttributes authAttrs_, byte[] mac_, UnauthAttributes unauthAttrs_)
public AuthenticatedData(long version_, RecipientInfos recipientInfos_, AlgorithmIdentifier macAlgorithm_, EncapsulatedContentInfo encapContentInfo_, byte[] mac_)
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.Asn1TypeIF
decode
in class com.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1Exception
java.io.IOException
public int encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer, boolean explicit) throws com.objsys.asn1j.runtime.Asn1Exception
encode
in interface com.objsys.asn1j.runtime.Asn1TypeIF
encode
in class com.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1Exception
public void print(java.io.PrintStream _out, java.lang.String _varName, int _level)
print
in interface com.objsys.asn1j.runtime.Asn1TypeIF
print
in class com.objsys.asn1j.runtime.Asn1Type
Copyright © 2025. All rights reserved.