Oid.FromFriendlyName Method (String, OidGroup)

.NET Framework (current version)
 

Creates an Oid object from an OID friendly name by searching the specified group.

Namespace:   System.Security.Cryptography
Assembly:  System (in System.dll)

public static Oid FromFriendlyName(
	string friendlyName,
	OidGroup group
)

Parameters

friendlyName
Type: System.String

The friendly name of the identifier.

group
Type: System.Security.Cryptography.OidGroup

The group to search in.

Return Value

Type: System.Security.Cryptography.Oid

An object that represents the specified OID.

Exception Condition
ArgumentNullException

friendlyName is null.

CryptographicException

The OID was not found.

.NET Framework
Available since 4.5
Return to top
Show: