ExtensionListRemove Method

Removes certificate extension object identifier (OID) value from a specified extension group.

Definition

Namespace: PKI.CertificateServices.PolicyModule
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public void Remove(
	string extensionType,
	Oid oid
)

Parameters

extensionType  String
Specifies the extension type. Possible values are: EnabledExtensionList, OfflineExtensionList and DisabledExtensionList.

If extension is removed, IsModified property is set to True.

oid  Oid
Certificate extension object identifier.

Exceptions

ArgumentNullExceptionThe extensionType parameter is Null.
ArgumentExceptionThe extensionType parameter value is incorrect, or oid parameter is invalid object identifier.

See Also