Asn1OctetString Class

Represents an ASN.1 OCTET_STRING data type.

Definition

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

Constructors

Asn1OctetString(Asn1Reader) Initializes a new instance of the Asn1NumericString class from an Asn1Reader object.
Asn1OctetString(Byte, Boolean) Initializes a new instance of Asn1NumericString from a ASN.1-encoded byte array.

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