X509ApplicationPolicyConstraintsExtension(NullableInt32, NullableInt32) Constructor

Initializes a new instance of the X509ApplicationPolicyConstraintsExtension class from a minimum and maximum number of certificates with required application policy.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public X509ApplicationPolicyConstraintsExtension(
	int? explicitPolicy,
	int? inhibitPolicy
)

Parameters

explicitPolicy  NullableInt32
The number of additional certificates that may appear in the path before an explicit policy is required for the entire path
inhibitPolicy  NullableInt32
the number of additional certificates that may appear in the path before policy mapping is no longer permitted.

Exceptions

ArgumentException Both, explicitPolicy and inhibitPolicy parameters cannot be NULL.

See Also