Class PublicKeyNamespace

proto

Hierarchy

Properties

_key: default

Methods

  • Parameters

    • signature: Uint8Array

    Returns ISignaturePair

  • Returns string

    Deprecated

    Use toEvmAddress() instead.

  • Verify a signature on a message with this public key.

    Parameters

    • message: Uint8Array
    • signature: Uint8Array

    Returns boolean

  • Parse a public key from a string of hexadecimal digits.

    The public key may optionally be prefixed with the DER header.

    Parameters

    • text: string

    Returns PublicKey

Generated using TypeDoc