Click or drag to resize

ExtensionListAdd Method

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

Parameters

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

If extension is added, 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 not valid, or oid parameter is invalid object identifier.
See Also