Oid2GetAllOids Method

Gets all registrations for the specified OID value.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public static Oid2[] GetAllOids(
	string value,
	bool searchInDirectory
)

Parameters

value  String
OID value to search. If the OID name is passed, it is converted to a best OID value match and performs OID search by it's value.
searchInDirectory  Boolean
Specifies whether to search for an object identifier in Active Directory. If the machine is not domain-joined, an OID is searched by using local registration information.

Return Value

Oid2
An array of OID registrations.

Remarks

If registration information is found in Active Directory, DistinguishedName parameter contains directory path to a OID registration entry.

Exceptions

ArgumentException The value parameter contains unresolvable object identifier friendly name.

See Also