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).
Parameters
Section titled “Parameters”extension
Section titled “extension”certificate
Section titled “certificate”validationEngine
Section titled “validationEngine”CertificateChainValidationEngine
Returns
Section titled “Returns”boolean | Promise<boolean>