Table of Contents

Class DynamicBasicConstraintsExtension

Namespace
iText.Signatures.Validation.V1.Extensions
Assembly
itext.sign.dll

Class representing "Basic Constraints" certificate extension, which uses provided amount of certificates in chain during the comparison.

public class DynamicBasicConstraintsExtension : DynamicCertificateExtension
Inheritance
DynamicBasicConstraintsExtension
Inherited Members

Constructors

DynamicBasicConstraintsExtension()

Create new instance of DynamicBasicConstraintsExtension.

public DynamicBasicConstraintsExtension()

Methods

ExistsInCertificate(IX509Certificate)

Check if this extension is present in the provided certificate.

public override bool ExistsInCertificate(IX509Certificate certificate)

Parameters

certificate IX509Certificate

iText.Commons.Bouncycastle.Cert.IX509Certificate in which this extension shall be present

Returns

bool

true if this path length is less or equal to a one from the certificate, false otherwise

Remarks

Check if this extension is present in the provided certificate. In case of DynamicBasicConstraintsExtension , check if path length for this extension is less or equal to the path length, specified in the certificate.