Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReqDHParams

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: Partial<Partial<{ nonce: BigInteger; serverNonce: BigInteger; p: Buffer; q: Buffer; publicKeyFingerprint: BigInteger; encryptedData: Buffer }>>
CONSTRUCTOR_ID: 3608339646
SUBCLASS_OF_ID: 2786626974
classType: "request"
className: "ReqDHParams"
nonce: BigInteger
serverNonce: BigInteger
p: Buffer
q: Buffer
publicKeyFingerprint: BigInteger
encryptedData: Buffer

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): Partial<Partial<{ nonce: BigInteger; serverNonce: BigInteger; p: Buffer; q: Buffer; publicKeyFingerprint: BigInteger; encryptedData: Buffer }>>
  • Returns Partial<Partial<{ nonce: BigInteger; serverNonce: BigInteger; p: Buffer; q: Buffer; publicKeyFingerprint: BigInteger; encryptedData: Buffer }>>

  • readResult(reader: any): Buffer
  • resolve(client: any, utils: any): Promise<void>

Constructors

  • new ReqDHParams(args: Partial<Partial<{ nonce: BigInteger; serverNonce: BigInteger; p: Buffer; q: Buffer; publicKeyFingerprint: BigInteger; encryptedData: Buffer }>>): ReqDHParams

Generated using TypeDoc