The Oid type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Oid()()()() | Creates a default empty object identifier.
| |
| Oid(array<Int32>[]()[][]) | Constructor. Initialize ObjectId value to integer array | |
| Oid(String) | Constructor. Initialize objectId value from string argument. | |
| Oid(array<UInt32>[]()[][]) | Constructor. Initialize ObjectId value to the unsigned integer array | |
| Oid(Oid) | Constructor. Duplicate objectId value from argument. |
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.
|
Operators
| Name | Description | |
|---|---|---|
| Addition(Oid, Oid) |
Add two Oid values and return the new class
| |
| Addition(Oid, String) |
Add Oid class value and oid represented as a string into a new Oid class instance
| |
| Addition(Oid, UInt32) |
Add integer id to the Oid class
| |
| Addition(Oid, array<UInt32>[]()[][]) |
Add Oid class value and oid values in the integer array into a new class instance.
| |
| Equality |
Comparison of two Oid class values.
| |
| ExplicitNarrowingExplicitExplicitExplicit(Oid to array<UInt32>[]()[][]) |
Operator allowing explicit conversion from Oid class to integer array int[]
| |
| GreaterThan |
Greater then operator.
| |
| Inequality |
Negative comparison of two Oid class values.
| |
| LessThan |
Less then operator.
|
Fields
Properties
| Name | Description | |
|---|---|---|
| IsNull |
Is Oid a null value or Oid equivalent (0.0)
| |
| Item |
Access individual Oid values.
| |
| Length | Gets the number of object identifiers
in the object.
| |
| Type |
Get ASN.1 value type stored in this class.
(Inherited from AsnType.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable..::..GetEnumerator |
Returns an enumerator that iterates through the Oid integer collection
|