iya-sts
    Preparing search index...
    verdictFor: (input: any, options: any) => Promise<any> = verdictFor

    Type Declaration

      • (input: any, options: any): Promise<any>
      • Answers whether a presented chain is revoked, and applies the policy.

        The one function every door asks. A foreign certificate is looked up at its OCSP responder and CRL only when the chain verified. Never rejects.

        Parameters

        • input: any

          { leaf, chain, verified }

        • options: any

          optional; external: 'not-consulted' fetches nothing

        Returns Promise<any>

        the decided verdict: status, refused, policy, why, links, unknown and revoked, marked with its refusal code when refused