public class PKIHeader
extends com.objsys.asn1j.runtime.Asn1Type
Modifier and Type | Field and Description |
---|---|
PKIFreeText |
freeText |
PKIHeader_generalInfo |
generalInfo |
com.objsys.asn1j.runtime.Asn1GeneralizedTime |
messageTime |
AlgorithmIdentifier |
protectionAlg |
PKIHeader_pvno |
pvno |
GeneralName |
recipient |
com.objsys.asn1j.runtime.Asn1OctetString |
recipKID |
com.objsys.asn1j.runtime.Asn1OctetString |
recipNonce |
GeneralName |
sender |
com.objsys.asn1j.runtime.Asn1OctetString |
senderKID |
com.objsys.asn1j.runtime.Asn1OctetString |
senderNonce |
com.objsys.asn1j.runtime.Asn1OctetString |
transactionID |
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 |
---|
PKIHeader() |
PKIHeader(long pvno_,
GeneralName sender_,
GeneralName recipient_)
This constructor is for required elements only.
|
PKIHeader(long pvno_,
GeneralName sender_,
GeneralName recipient_,
java.lang.String messageTime_,
AlgorithmIdentifier protectionAlg_,
byte[] senderKID_,
byte[] recipKID_,
byte[] transactionID_,
byte[] senderNonce_,
byte[] recipNonce_,
PKIFreeText freeText_,
PKIHeader_generalInfo generalInfo_)
This constructor allows primitive data to be passed for all
primitive elements.
|
PKIHeader(PKIHeader_pvno pvno_,
GeneralName sender_,
GeneralName recipient_)
This constructor is for required elements only.
|
PKIHeader(PKIHeader_pvno pvno_,
GeneralName sender_,
GeneralName recipient_,
com.objsys.asn1j.runtime.Asn1GeneralizedTime messageTime_,
AlgorithmIdentifier protectionAlg_,
com.objsys.asn1j.runtime.Asn1OctetString senderKID_,
com.objsys.asn1j.runtime.Asn1OctetString recipKID_,
com.objsys.asn1j.runtime.Asn1OctetString transactionID_,
com.objsys.asn1j.runtime.Asn1OctetString senderNonce_,
com.objsys.asn1j.runtime.Asn1OctetString recipNonce_,
PKIFreeText freeText_,
PKIHeader_generalInfo generalInfo_)
This constructor sets all elements to references to the
given objects
|
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 PKIHeader_pvno pvno
public GeneralName sender
public GeneralName recipient
public com.objsys.asn1j.runtime.Asn1GeneralizedTime messageTime
public AlgorithmIdentifier protectionAlg
public com.objsys.asn1j.runtime.Asn1OctetString senderKID
public com.objsys.asn1j.runtime.Asn1OctetString recipKID
public com.objsys.asn1j.runtime.Asn1OctetString transactionID
public com.objsys.asn1j.runtime.Asn1OctetString senderNonce
public com.objsys.asn1j.runtime.Asn1OctetString recipNonce
public PKIFreeText freeText
public PKIHeader_generalInfo generalInfo
public PKIHeader()
public PKIHeader(PKIHeader_pvno pvno_, GeneralName sender_, GeneralName recipient_, com.objsys.asn1j.runtime.Asn1GeneralizedTime messageTime_, AlgorithmIdentifier protectionAlg_, com.objsys.asn1j.runtime.Asn1OctetString senderKID_, com.objsys.asn1j.runtime.Asn1OctetString recipKID_, com.objsys.asn1j.runtime.Asn1OctetString transactionID_, com.objsys.asn1j.runtime.Asn1OctetString senderNonce_, com.objsys.asn1j.runtime.Asn1OctetString recipNonce_, PKIFreeText freeText_, PKIHeader_generalInfo generalInfo_)
public PKIHeader(PKIHeader_pvno pvno_, GeneralName sender_, GeneralName recipient_)
public PKIHeader(long pvno_, GeneralName sender_, GeneralName recipient_, java.lang.String messageTime_, AlgorithmIdentifier protectionAlg_, byte[] senderKID_, byte[] recipKID_, byte[] transactionID_, byte[] senderNonce_, byte[] recipNonce_, PKIFreeText freeText_, PKIHeader_generalInfo generalInfo_)
public PKIHeader(long pvno_, GeneralName sender_, GeneralName recipient_)
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.