The Oid type exposes the following members.

Methods

  NameDescription
Public methodAdd(Int32)
Add a single Int32 id to the end of the object
Public methodAdd(array<Int32>[]()[][])
Add an array of identifiers to the current object.
Public methodAdd(String)
Converts the passed string to an object identifier and appends them to the current object.
Public methodAdd(UInt32)
Add a single UInt32 id to the end of the object
Public methodAdd(array<UInt32>[]()[][])
Add UInt32 identifiers to the current object.
Public methodAdd(Oid)
Appends the passed Oid object to self.
Public methodClone
Duplicate current object.
(Overrides AsnType..::..Clone()()()().)
Public methodCompare(array<UInt32>[]()[][])
Compare Oid value with array of UInt32 integers
Public methodCompare(Oid)
Compare objectId values
Public methodCompare(array<UInt32>[]()[][], Int32)
Compare class value with the contents of the array. Compare up to dist number of Oid values to determine equality.
Public methodCompareExact(array<UInt32>[]()[][])
Exact comparison of two Oid values
Public methodCompareExact(Oid)
Exact comparison of two Oid values
Public methodCompareTo
IComparable interface implementation. Internally uses CompareExact(Oid) method to perform comparisons.
Public methoddecode
Decode BER encoded Oid value.
(Overrides AsnType..::..decode(array<Byte>[]()[][], Int32).)
Public methodencode
Encodes ASN.1 object identifier and append it to the end of the passed buffer.
(Overrides AsnType..::..encode(MutableByte).)
Protected methodencodeInstance
Encode single OID instance value
Public methodEquals
Test for equality. Returns true if 'o' is an instance of an Oid and is equal to self.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetChildIdentifiers
Return child components of the leaf OID.
Protected methodGetData
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.
Public methodGetEnumerator
Returns an enumerator that iterates through the Oid integer collection
Public methodGetHashCode
Hash value for OID value
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsRootOf
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNullOid
Return instance of Oid class set to null value {0,0}
Public methodReset
Reset class value to null
Public methodSet(array<Int32>[]()[][])
Set Oid value from integer array. If integer array is null or length == 0, internal buffer is set to null.
Public methodSet(String)
Sets the object to the passed dotted decimal object identifier string.
Public methodSet(array<UInt32>[]()[][])
Set Oid value from integer array. If integer array is null or length == 0, internal buffer is set to null.
Public methodSet(Oid)
Set class value from another Oid class.
Public methodToArray
Convert the Oid class to a integer array. Internal class data buffer is *copied* and not passed to the caller.
Public methodToString()()()()
Converts the object identifier to a dotted decimal string representation.
(Overrides Object..::..ToString()()()().)
Public methodStatic memberToString(array<Int32>[]()[][])
Return a string formatted as OID value of the passed integer array
Public methodStatic memberToString(array<Int32>[]()[][], Int32)
Return a string formatted as OID value of the passed integer array starting at array item startpos.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumerator
Returns an enumerator that iterates through the Oid integer collection

See Also