Mono.Security.ASN1 Members

The members of Mono.Security.ASN1 are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the Mono.Security.ASN1 class.
Initializes a new instance of the Mono.Security.ASN1 class with a specified tag.
Initializes a new instance of the Mono.Security.ASN1 class defined by a provided byte array.
Initializes a new instance of the Mono.Security.ASN1 class defined by a provided tag and byte array.

Public Properties

[read-only]
Countint. Gets the number of Mono.Security.ASN1 children elements contained in the current instance.
[read-only]
default property
Item(int)ASN1. Gets the Mono.Security.ASN1 class instance that is associated with the specified index.
[read-only]
Lengthint. Gets the length (in bytes) of the ASN.1 content in the current instance.
[read-only]
Tagbyte. Gets the ASN.1 content tag (numeric).
Valuebyte[]. Gets of sets the ASN.1 content represented by the current instance.

Public Methods

Add(ASN1) : ASN1
Adds a ASN.1 data representation instance to the children element list.
CompareValue(byte[]) : bool
Determines if the current instance content is the same as the specified byte array.
Element(int, byte) : ASN1
Locates the child Mono.Security.ASN1 instance that matches the specified tag.
Equals(byte[]) : bool
Determines if the current ASN.1 representation content, as well as its children's element's content, is equal to the specified byte array.
GetBytes() : byte[]
Recursively gets the ASN.1 content as a byte array.
SaveToFile(string)
Saves the ASN.1 object contents to a file.
override
ToString() : string
Returns the ASN.1 content to its equivalent string representation.

Protected Methods

Decode(byte[], ref int, int)
Populate the current Mono.Security.ASN1 instance by recursively decoding the specified ASN.1 content byte array.
DecodeTLV(byte[], ref int, out byte, out int, out byte[])
Populate the current Mono.Security.ASN1 instance by recursively decoding the specified ASN.1 content byte array.