Represents a signature.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Creates a signature from bytes or a hex string.

    Parameters

    • signature: string | Uint8Array

      Input string or byte array.

    Returns Signature

Properties

bytes: Uint8Array

Underlying bytes.

NAME: string

Byte array name (required because constructor.name is dropped during minification).

SIZE: number

Byte size of raw signature.

Methods

  • Returns representation of this object that can be stored in JSON.

    Returns string

    JSON-safe representation of this object.

  • Returns string representation of this object.

    Returns string

    String representation of this object

  • Creates a zeroed signature.

    Returns Signature

    Zeroed signature.