Function getCertStatus

  • Get the revocation status of a certificate.

    Parameters

    • cert:
          | string
          | Buffer
          | X509Certificate
          | Certificate

      string | Buffer | X509Certificate | pkijs.Certificate

    • Optionalconfig: OCSPStatusConfig

      Provide optional additional configuration

    Returns Promise<OCSPStatusResponse>

    Revocation status of the certificate and additional information if available

    Error if the OCSP request failed

    AbortError if the request timed out