CertificateTemplateSettingsGetPathLengthConstraint Method

Gets path length restriction for the certificates issued by this template. For end-entity (non-CA) certificate, a zero is always returned. If the CA certificate cannot issue certificates to other CAs, the method returns zero. If there is no path length restrictions, a -1 is returned.

Definition

Namespace: PKI.CertificateTemplates
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public int GetPathLengthConstraint()

Return Value

Int32
A value that indicates how many additional CAs under this certificate may appear in the certificate chain.

See Also