ExtensionListAdd Method

Adds certificate extension object identifier (OID) value to 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 Add(
	string extensionType,
	Oid oid
)

Parameters

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

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

oid  Oid
Certificate extension object identifier.

Exceptions

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

See Also