Asn1Boolean Class

Represents an ASN.1 BOOLEAN data type.

Definition

Namespace: SysadminsLV.Asn1Parser.Universal
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public sealed class Asn1Boolean : Asn1Universal
Inheritance
Object    Asn1Universal    Asn1Boolean

Constructors

Asn1Boolean(Asn1Reader) Initializes a new instance of the Asn1Boolean class from an Asn1Reader object.
Asn1Boolean(Byte) Initializes a new instance of Asn1Boolean from a ASN.1-encoded byte array.
Asn1Boolean(Boolean) Initializes a new instance of the Asn1Boolean class from a boolean value.

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.
(Inherited from Asn1Universal)
RawData Gets the full tag raw data, including header and payload information.
(Inherited from Asn1Universal)
Obsolete.
Tag Gets the numeric tag value of the current ASN type.
(Inherited from Asn1Universal)
TagName Gets the textual name of the ASN tag.
(Inherited from Asn1Universal)
Value Gets value associated with the current object.

Methods

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

See Also