Skip to main content

CertificateChainValidationPolicy

Choices that RFC 5280 leaves to the application. The mandatory checks of path validation (pathLenConstraint of intermediate certificates, critical extensions, and so on) cannot be turned off.

Properties​

criticalExtensionHandler?​

optional criticalExtensionHandler?: CriticalExtensionHandler

Checks critical extensions that the engine does not process itself. Without it, a certificate with such an extension is rejected.


enforceTrustAnchorPathLenConstraint?​

optional enforceTrustAnchorPathLenConstraint?: boolean

Apply the pathLenConstraint of the trust anchor's certificate to the path (RFC 5280, 6.2). Default false.