Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthKey

Hierarchy

  • AuthKey

Index

Properties

keyId?: BigInteger

Constructors

  • new AuthKey(value?: Buffer, hash?: Buffer): AuthKey

Methods

  • setKey(value?: Buffer | AuthKey): Promise<void>
  • waitForKey(): Promise<void>
  • getKey(): undefined | Buffer
  • calcNewNonceHash(newNonce: BigInteger, number: number): Promise<BigInteger>
  • Calculates the new nonce hash based on the current class fields' values

    Parameters

    • newNonce: BigInteger
    • number: number

    Returns Promise<BigInteger>

  • equals(other: AuthKey): undefined | boolean

Generated using TypeDoc