Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ASN1Object ¶
type ASN1Object struct {
Class int // 0=Universal, 1=Application, 2=Context-specific, 3=Private
TagNumber int // The tag number (could be > 30 for extended tags)
IsConstructed bool
Value []byte // Used if primitive (holds the content bytes)
SubObjects []ASN1Object // Used if constructed (holds the parsed sub-elements)
}
ASN1Object represents an ASN.1 element (potentially constructed with sub-elements)
Click to show internal directories.
Click to hide internal directories.