Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerDHInnerData

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { nonce: BigInteger; serverNonce: BigInteger; g: number; dhPrime: Buffer; gA: Buffer; serverTime: number }

Type declaration

  • nonce: BigInteger
  • serverNonce: BigInteger
  • g: number
  • dhPrime: Buffer
  • gA: Buffer
  • serverTime: number
CONSTRUCTOR_ID: 3045658042
SUBCLASS_OF_ID: 3332007868
classType: "constructor"
className: "ServerDHInnerData"
nonce: BigInteger
serverNonce: BigInteger
g: number
dhPrime: Buffer
gA: Buffer
serverTime: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { nonce: BigInteger; serverNonce: BigInteger; g: number; dhPrime: Buffer; gA: Buffer; serverTime: number }
  • Returns { nonce: BigInteger; serverNonce: BigInteger; g: number; dhPrime: Buffer; gA: Buffer; serverTime: number }

    • nonce: BigInteger
    • serverNonce: BigInteger
    • g: number
    • dhPrime: Buffer
    • gA: Buffer
    • serverTime: number

Constructors

  • new ServerDHInnerData(args: { nonce: BigInteger; serverNonce: BigInteger; g: number; dhPrime: Buffer; gA: Buffer; serverTime: number }): ServerDHInnerData
  • Parameters

    • args: { nonce: BigInteger; serverNonce: BigInteger; g: number; dhPrime: Buffer; gA: Buffer; serverTime: number }
      • nonce: BigInteger
      • serverNonce: BigInteger
      • g: number
      • dhPrime: Buffer
      • gA: Buffer
      • serverTime: number

    Returns ServerDHInnerData

Generated using TypeDoc