Asn1UniversalString Class

Represents an ASN.1 UniversalString data type. Universal String represents strings where each character is encoded using 4 bytes.

Definition

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

Constructors

Asn1UniversalString(Asn1Reader) Initializes a new instance of the Asn1UniversalString class from an Asn1Reader object.
Asn1UniversalString(Byte) Initializes a new instance of Asn1UniversalString from a ASN.1-encoded byte array.
Asn1UniversalString(String) Initializes a new instance of the Asn1UniversalString class from a unicode string.

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.
(Inherited from Asn1String)

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.
(Overrides Asn1UniversalGetDisplayValue)
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