easy-ocsp
    Preparing search index...

    Function getCertURLs

    • Get the OCSP and issuer URLs from a certificate

      Parameters

      • cert: string | ArrayBuffer | Buffer<ArrayBufferLike> | X509Certificate | Certificate

        The certificate to check, as PEM encoded string, X509Certificate object, pkijs.Certificate or the raw certificate as Buffer or ArrayBuffer

      Returns { issuerUrl: string; ocspUrl: string }

      OCSP and issuer URLs

      Error if the certificate does not contain the required information