Asn1Universal Class

Represents a base class for ASN.1 primitive tag classes. This class provides

Definition

Constructors

Asn1Universal(Asn1Type) Initializes a new instance of Asn1Universal class.
Asn1Universal(Asn1Reader, NullableAsn1Type) Initializes a new instance of Asn1Universal from an existing Asn1Reader class instance.

Properties

IsContainer Indicates whether the current structure is container. This includes all constructed types and may include OCTET_STRING and BIT_STRING with encapsulated types. OCTET_STRING and BIT_STRING use primitive type form.
RawData Gets the full tag raw data, including header and payload information.
Obsolete.
Tag Gets the numeric tag value of the current ASN type.
TagName Gets the textual name of the ASN tag.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
Format Encodes current tag to either, Base64 or hex string.
GetDisplayValue Gets decoded type value. If the value cannot be decoded, a hex dump is returned.
GetHashCode
(Inherited from Object)
GetRawData Gets the full tag raw data, including header and payload information.
GetType
(Inherited from Object)
Initialize Initializes Asn1Universal object from an existing Asn1Reader object.
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

Fields

InvalidType Constant string to display error message for tag mismatch exceptions.

See Also