X509CertificatePoliciesExtension Constructor (X509CertificatePolicyCollection, Boolean) |
Initializes a new instance of the X509CertificatePoliciesExtension class from an array of certificate
policies and a value that identifies whether the extension is critical.
Namespace:
System.Security.Cryptography.X509Certificates
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public X509CertificatePoliciesExtension(
X509CertificatePolicyCollection policies,
bool critical
)
Public Sub New (
policies As X509CertificatePolicyCollection,
critical As Boolean
)
public:
X509CertificatePoliciesExtension(
X509CertificatePolicyCollection^ policies,
bool critical
)
new :
policies : X509CertificatePolicyCollection *
critical : bool -> X509CertificatePoliciesExtension
Parameters
- policies
- Type: System.Security.Cryptography.X509CertificatesX509CertificatePolicyCollection
An array of certificate policies. - critical
- Type: SystemBoolean
True if the extension is critical; otherwise, False.
Exceptions Exception | Condition |
---|
ArgumentNullException | polcies parameter is either null or empty. |
See Also