Function getRawOCSPResponse

  • Get raw (binary) OCSP response for a certificate The response is not parsed or validated.

    Parameters

    • cert:
          | string
          | Buffer
          | X509Certificate
          | Certificate

      string | Buffer | X509Certificate | pkijs.Certificate

    • Optionalconfig: OCSPStatusConfig

      Provide optional additional configuration

    Returns Promise<{
        issuerCert: string;
        nonce: undefined | Buffer;
        rawResponse: Buffer;
    }>

    The raw OCSP response as a buffer, the nonce and the pem encoded issuer certificate