Click or drag to resize

X509CertificatePolicy Constructor (String, X509PolicyQualifierCollection)

Initializes a new instance of the X509CertificatePolicy class from a string that represents a policy OID value and an array of policy qualifiers that are associated with the specified policy OID.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public X509CertificatePolicy(
	string policyOid,
	X509PolicyQualifierCollection qualifiers
)

Parameters

policyOid
Type: SystemString
A string that represents certificate policy OID value.
qualifiers
Type: System.Security.Cryptography.X509CertificatesX509PolicyQualifierCollection
A collection of policy qualifiers.
Exceptions
ExceptionCondition
ArgumentNullExceptionpolicyOid and/or qualifiers parameter is null or empty string.
See Also