Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResPQ

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { nonce: BigInteger; serverNonce: BigInteger; pq: Buffer; serverPublicKeyFingerprints: BigInteger[] }

Type declaration

  • nonce: BigInteger
  • serverNonce: BigInteger
  • pq: Buffer
  • serverPublicKeyFingerprints: BigInteger[]
CONSTRUCTOR_ID: 85337187
SUBCLASS_OF_ID: 2020181688
classType: "constructor"
className: "ResPQ"
nonce: BigInteger
serverNonce: BigInteger
pq: Buffer
serverPublicKeyFingerprints: BigInteger[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { nonce: BigInteger; serverNonce: BigInteger; pq: Buffer; serverPublicKeyFingerprints: BigInteger[] }
  • Returns { nonce: BigInteger; serverNonce: BigInteger; pq: Buffer; serverPublicKeyFingerprints: BigInteger[] }

    • nonce: BigInteger
    • serverNonce: BigInteger
    • pq: Buffer
    • serverPublicKeyFingerprints: BigInteger[]
  • fromReader(reader: any): ResPQ

Constructors

  • new ResPQ(args: { nonce: BigInteger; serverNonce: BigInteger; pq: Buffer; serverPublicKeyFingerprints: BigInteger[] }): ResPQ
  • Parameters

    • args: { nonce: BigInteger; serverNonce: BigInteger; pq: Buffer; serverPublicKeyFingerprints: BigInteger[] }
      • nonce: BigInteger
      • serverNonce: BigInteger
      • pq: Buffer
      • serverPublicKeyFingerprints: BigInteger[]

    Returns ResPQ

Generated using TypeDoc