The Oid type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add(Int32) | Add a single Int32 id to the end of the object | |
| Add(array<Int32>[]()[][]) | Add an array of identifiers to the current object. | |
| Add(String) | Converts the passed string to an object identifier
and appends them to the current object.
| |
| Add(UInt32) | Add a single UInt32 id to the end of the object | |
| Add(array<UInt32>[]()[][]) | Add UInt32 identifiers to the current object. | |
| Add(Oid) | Appends the passed Oid object to
self.
| |
| Clone | Duplicate current object. (Overrides AsnType..::..Clone()()()().) | |
| Compare(array<UInt32>[]()[][]) | Compare Oid value with array of UInt32 integers | |
| Compare(Oid) | Compare objectId values | |
| Compare(array<UInt32>[]()[][], Int32) | Compare class value with the contents of the array. Compare up to dist number of Oid values
to determine equality. | |
| CompareExact(array<UInt32>[]()[][]) |
Exact comparison of two Oid values
| |
| CompareExact(Oid) |
Exact comparison of two Oid values
| |
| CompareTo |
IComparable interface implementation. Internally uses CompareExact(Oid) method to perform comparisons.
| |
| decode | Decode BER encoded Oid value. (Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).) | |
| encode |
Encodes ASN.1 object identifier and append it to the end of the passed buffer.
(Overrides AsnType..::..encode(MutableByte).) | |
| encodeInstance |
Encode single OID instance value
| |
| Equals | Test for equality. Returns true if 'o' is an instance of an Oid and is equal to self. (Overrides Object..::..Equals(Object).) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetChildIdentifiers |
Return child components of the leaf OID.
| |
| GetData |
Return internal integer array. This is required by static members of the class and other methods in
this library so internal attribute is applied to it.
| |
| GetEnumerator |
Returns an enumerator that iterates through the Oid integer collection
| |
| GetHashCode | Hash value for OID value
(Overrides Object..::..GetHashCode()()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsRootOf | Compares the passed object identifier against self
to determine if self is the root of the passed object.
If the passed object is in the same root tree as self
then a true value is returned. Otherwise a false value
is returned from the object.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NullOid |
Return instance of Oid class set to null value {0,0}
| |
| Reset |
Reset class value to null
| |
| Set(array<Int32>[]()[][]) |
Set Oid value from integer array. If integer array is null or length == 0, internal buffer is set to null.
| |
| Set(String) | Sets the object to the passed dotted decimal
object identifier string.
| |
| Set(array<UInt32>[]()[][]) |
Set Oid value from integer array. If integer array is null or length == 0, internal buffer is set to null.
| |
| Set(Oid) |
Set class value from another Oid class.
| |
| ToArray |
Convert the Oid class to a integer array. Internal class data buffer is *copied* and not passed to the caller.
| |
| ToString()()()() | Converts the object identifier to a dotted decimal
string representation.
(Overrides Object..::..ToString()()()().) | |
| ToString(array<Int32>[]()[][]) |
Return a string formatted as OID value of the passed integer array
| |
| ToString(array<Int32>[]()[][], Int32) |
Return a string formatted as OID value of the passed integer array starting at array item startpos.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable..::..GetEnumerator |
Returns an enumerator that iterates through the Oid integer collection
|