The AsnType type exposes the following members.


Protected methodAsnType
Initializes a new instance of the AsnType class


Public methodClone
Abstract Clone() member function
Public methoddecode
Decodes the ASN.1 buffer and sets the values in the AsnType object.
Public methodencode
Encodes the data object in the specified buffer
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)


Protected field_asnType
ASN.1 type byte.
Public fieldStatic memberAPPLICATION
Relevant to a particular application. These are defined in standards other than ASN.1.
Public fieldStatic memberBITSTRING
Bit sequence type
Public fieldStatic memberBOOLEAN
Bool true/false value type
Public fieldStatic memberCONSTRUCTOR
A constructed data object such as a set or sequence.
Public fieldStatic memberCONTEXT
Also relevant to a particular application, but limited by context
Protected fieldStatic memberEXTENSION_ID
Defines the BER extension "value" that is used to mark an extension type.
Protected fieldStatic memberHIGH_BIT
Defines the "high bit" that is the sign extension bit for a 8-bit signed value.
Public fieldStatic memberINTEGER
Signed 32-bit integer type
Public fieldStatic memberNULL
Null (no value) type
Public fieldStatic memberOBJECTID
Object id type
Public fieldStatic memberOCTETSTRING
Octet (byte) value type
Public fieldStatic memberPRIMITIVE
A primitive data object.
Public fieldStatic memberPRIVATE
These are types not covered by any standard but instead defined by users.
Public fieldStatic memberSEQUENCE
Arbitrary data type
Public fieldStatic memberSET
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.
Public fieldStatic memberUNIVERSAL
Generally useful, application-independent types and construction mechanisms.


Public propertyType
Get ASN.1 value type stored in this class.

See Also