Class KeyPairAbstract

Hierarchy

  • KeyPairBase
    • KeyPair

Constructors

  • Returns KeyPair

Methods

  • Returns PublicKey

  • Parameters

    • message: Uint8Array

    Returns Signature

  • Returns string

  • Parameters

    • message: Uint8Array
    • signature: Uint8Array

    Returns boolean

  • Parameters

    • curve: string

      Name of elliptical curve, case-insensitive

    Returns KeyPair

    Random KeyPair based on the curve

  • Creates a key pair from an encoded key string.

    Parameters

    • encodedKey: string

      The encoded key string.

    Returns KeyPair

    The key pair created from the encoded key string.

Generated using TypeDoc