Secp256k1Keypair | js-waku
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Secp256k1Keypair

Hierarchy

  • Secp256k1Keypair

Implements

Index

Constructors

  • new Secp256k1Keypair(privateKey?: Uint8Array, publicKey?: Uint8Array): Secp256k1Keypair
  • Parameters

    • Optional privateKey: Uint8Array
    • Optional publicKey: Uint8Array

    Returns Secp256k1Keypair

Properties

_privateKey?: Uint8Array
_publicKey?: Uint8Array

Accessors

  • get privateKey(): Uint8Array
  • get publicKey(): Uint8Array

Methods

  • hasPrivateKey(): boolean
  • privateKeyVerify(key?: undefined | Uint8Array): boolean
  • publicKeyVerify(key?: undefined | Uint8Array): boolean

Generated using