Click or drag to resize

ExtensionListRemove Method

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

Namespace:  PKI.CertificateServices.PolicyModule
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public void Remove(
	string extensionType,
	Oid oid
)

Parameters

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

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

oid
Type: System.Security.CryptographyOid
Certificate extension object identifier.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe extensionType parameter is Null.
ArgumentExceptionThe extensionType parameter value is incorrect, or oid parameter is invalid object identifier.
See Also