@websign/sdk - v0.1.0
    Preparing search index...

    Function certificates

    • The certificate the person chooses in the app's window — never the list of the computer. A remembered site gets the certificates it already used, without a window.

      Use it to learn who is signing (name, issuer, profile) before you build the document; pass the result to sign({ certificate }) to skip the choice.

      Parameters

      Returns Promise<Certificate[]>

      const [certificate] = await certificates({ algorithm: "ECDSA" });
      

      ExtensionMissing, AppMissing, AppOutdated, UserCancelled, NoCertificates, Timeout, Busy, Aborted…