Gets all registrations for the specified OID value.
Namespace:
System.Security.Cryptography
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public static Oid2[] GetAllOids(
string value,
bool searchInDirectory
)
Public Shared Function GetAllOids (
value As String,
searchInDirectory As Boolean
) As Oid2()
public:
static array<Oid2^>^ GetAllOids(
String^ value,
bool searchInDirectory
)
static member GetAllOids :
value : string *
searchInDirectory : bool -> Oid2[]
Parameters
- value
- Type: SystemString
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
- Type: SystemBoolean
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
Type:
Oid2An array of OID registrations.
Exceptions Exception | Condition |
---|
ArgumentException |
The value parameter contains unresolvable object identifier friendly name.
|
Remarks
If registration information is found in Active Directory, DistinguishedName parameter contains
directory path to a OID registration entry.
See Also