iya-sts
    Preparing search index...
    answerOcsp: (scopeId: any, caId: any, requestDer: any) => Promise<any> = answerOcsp

    Type Declaration

      • (scopeId: any, caId: any, requestDer: any): Promise<any>
      • Answers an OCSP request (RFC 6960) for one authority, signed by the CA itself.

        good only for a serial this authority issued and has not revoked, revoked for one on its list, unknown otherwise. A request that cannot be answered gets a bare OCSP error status rather than a thrown error.

        Parameters

        • scopeId: any

          the scope holding the authority

        • caId: any

          the authority's CA id

        • requestDer: any

          the DER-encoded OCSPRequest, as a Buffer

        Returns Promise<any>

        { ok: true, der, status }, with answers, thisUpdate and nextUpdate when the status is successful