X509NtdsSecurityExtension(String, Boolean) Constructor

Initializes a new instance of the X509NtdsSecurityExtension class from security identifier (SID) and value that determines if the extension is critical.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public X509NtdsSecurityExtension(
	string sid,
	bool critical
)

Parameters

sid  String
An instance that represents a security identifier.
critical  Boolean
True if the extension is critical; otherwise, False.

Exceptions

FormatExceptionsid parameter does not represent valid SID string (in SDDL format).
ArgumentExceptionsid parameter represents empty security identifier.
ArgumentNullExceptionsid parameter is null.

See Also