The AsnType type exposes the following members.

Constructors

  NameDescription
AsnType
AsnType
Initializes a new instance of the AsnType class

Methods

  NameDescription
Clone
Abstract Clone() member function
decode
Decodes the ASN.1 buffer and sets the values in the AsnType object.
encode
Encodes the data object in the specified buffer using the AsnEncoder object
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FieldGetter (Inherited from Object.)
FieldSetter (Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetFieldInfo (Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
_asnType
ASN.1 type byte.
APPLICATION
Relevant to a particular application. These are defined in standards other than ASN.1.
BITSTRING
A sequence of zero or more bits
BOOLEAN
Basic data type representing TRUE or FALSE.
CONSTRUCTOR
A constructed data object such as a set or sequence.
CONTEXT
Also relevant to a particular application, but limited by context
EXTENSION_ID
Defines the BER extension "value" that is used to mark an extension type.
HIGH_BIT
Defines the "high bit" that is the sign extension bit for a 8-bit signed value.
INTEGER
Positive and negative whole numbers, including zero.
LONG_LENGTH
Defines the ASN.1 long length marker for the Basic Encoding Rule (BER)
NULL
The single value NULL. Commonly used value where several alternatives are possible but none apply.
OBJECTID
The set of values associated with information objects allocated by the standard.
OCTETSTRING
A sequence of zero or more octets. An octet is an 8-bit value.
PRIMITIVE
A primitive data object.
PRIVATE
These are types not covered by any standard but instead defined by users.
SEQUENCE
Defined by referencing a fixed, ordered list of types. Each value is an ordered list of values, one from each component type.
SET
Defined by referencing a fixed, unordered list of types, some of which may be declared optional. Each value is an unordered list of values, one from each component type.
UNIVERSAL
Generally useful, application-independent types and construction mechanisms.

Properties

  NameDescription
Type
Return ASN.1 type of the object stored in this or derived class.

See Also