Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SecureData

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { data: Buffer; dataHash: Buffer; secret: Buffer }

Type declaration

  • data: Buffer
  • dataHash: Buffer
  • secret: Buffer
CONSTRUCTOR_ID: 2330640067
SUBCLASS_OF_ID: 2094276276
classType: "constructor"
className: "SecureData"
data: Buffer
dataHash: Buffer
secret: Buffer

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { data: Buffer; dataHash: Buffer; secret: Buffer }

Constructors

  • new SecureData(args: { data: Buffer; dataHash: Buffer; secret: Buffer }): SecureData

Generated using TypeDoc