Interface PrivateKeyInternal

Interface representing the structure and methods of a private key, including functions to retrieve public key bytes, sign messages, and export to PEM format.

Hierarchy

  • PrivateKeyInternal

Methods

  • Signs a message using the private key.

    Returns

    A promise resolving to the signature bytes.

    Parameters

    • message: Uint8Array

      The message to sign.

    Returns Uint8Array

Generated using TypeDoc