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:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public X509CertificatePolicy(
string policyOid,
X509PolicyQualifierCollection qualifiers
)
Public Sub New (
policyOid As String,
qualifiers As X509PolicyQualifierCollection
)
public:
X509CertificatePolicy(
String^ policyOid,
X509PolicyQualifierCollection^ qualifiers
)
new :
policyOid : string *
qualifiers : X509PolicyQualifierCollection -> X509CertificatePolicy
Parameters
- policyOid
- Type: SystemString
A string that represents certificate policy OID value. - qualifiers
- Type: System.Security.Cryptography.X509CertificatesX509PolicyQualifierCollection
A collection of policy qualifiers.
Exceptions Exception | Condition |
---|
ArgumentNullException | policyOid and/or qualifiers parameter is null or empty string.
|
See Also