X509CertificatePoliciesExtension(X509CertificatePolicyCollection, Boolean) Constructor

Initializes a new instance of the X509CertificatePoliciesExtension class from an array of certificate policies and a value that identifies whether the extension is critical.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public X509CertificatePoliciesExtension(
	X509CertificatePolicyCollection policies,
	bool critical
)

Parameters

policies  X509CertificatePolicyCollection
An array of certificate policies.
critical  Boolean
True if the extension is critical; otherwise, False.

Exceptions

ArgumentNullExceptionpolicies parameter is either null or empty.

See Also