Skip to content
PKIjsPKIjsPKIjsv4.0.1

CriticalExtensionHandler

CriticalExtensionHandler = (extension, certificate, validationEngine) => boolean | Promise<boolean>

Called for a critical extension that the engine does not process itself. Return true only if the application has checked the extension and the certificate meets its constraints; otherwise the path is rejected (RFC 5280, 4.2).

Extension

Certificate

CertificateChainValidationEngine

boolean | Promise<boolean>