Function getCertURLs

  • Get the OCSP and issuer URLs from a certificate

    Parameters

    • cert: string | Buffer | X509Certificate | Certificate

      string | Buffer | X509Certificate | pkijs.Certificate

    Returns Promise<{
        issuerUrl: string;
        ocspUrl: string;
    }>

    OCSP and issuer URLs

    Throws

    Error if the certificate does not contain the required information