Click or drag to resize

Oid2Unregister Method

Unregisters object identifier from OID registration database.

Namespace:  System.Security.Cryptography
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public static bool Unregister(
	string value,
	OidGroupEnum group,
	bool deleteFromDirectory
)

Parameters

value
Type: SystemString
Specifies the object identifier value.
group
Type: System.Security.CryptographyOidGroupEnum
Specifies the OID group from which the OID is removed.
deleteFromDirectory
Type: SystemBoolean
Specifies whether to perform registration removal from Active Directory. If Active Directory is unavailable, the method will attempt to unregister OID from a local OID registration database.

Return Value

Type: Boolean
True if OID or OIDs were unregistered successfully. If specified OID information is not registered, the method returns False. An exception is thrown when caller do not have appropriate permissions. See Remarks section for additional details.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue parameter is null or empty.
Remarks
Permissions: a caller must have local administrator permissions in order to remove OID registration from local OID database. When deleteFromDirectory is set to True, a caller must be a member of Enterprise Admins group or have delegated permissions on a OID container in Active Directory. OID container location is CN=OID, CN=Public Key Services, CN=Services,CN=Configuration, {Configuration naming context}.
See Also