Function getCertURLs

  • Get the OCSP and issuer URLs from a certificate

    Parameters

    • cert:
          | string
          | Buffer
          | X509Certificate
          | Certificate

      string | Buffer | X509Certificate | pkijs.Certificate

    Returns {
        issuerUrl: string;
        ocspUrl: string;
    }

    OCSP and issuer URLs

    • issuerUrl: string
    • ocspUrl: string

    Error if the certificate does not contain the required information