Skip to main content

Class: SessionStructure

Defined in: WAProto/index.d.ts:10890

Implements

Constructors

new SessionStructure()

new SessionStructure(p?): SessionStructure

Defined in: WAProto/index.d.ts:10891

Parameters

p?

ISessionStructure

Returns

SessionStructure

Properties

aliceBaseKey?

optional aliceBaseKey: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:10904

Implementation of

ISessionStructure.aliceBaseKey


localIdentityPublic?

optional localIdentityPublic: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:10893

Implementation of

ISessionStructure.localIdentityPublic


localRegistrationId?

optional localRegistrationId: null | number

Defined in: WAProto/index.d.ts:10902

Implementation of

ISessionStructure.localRegistrationId


needsRefresh?

optional needsRefresh: null | boolean

Defined in: WAProto/index.d.ts:10903

Implementation of

ISessionStructure.needsRefresh


pendingKeyExchange?

optional pendingKeyExchange: null | IPendingKeyExchange

Defined in: WAProto/index.d.ts:10899

Implementation of

ISessionStructure.pendingKeyExchange


pendingPreKey?

optional pendingPreKey: null | IPendingPreKey

Defined in: WAProto/index.d.ts:10900

Implementation of

ISessionStructure.pendingPreKey


previousCounter?

optional previousCounter: null | number

Defined in: WAProto/index.d.ts:10896

Implementation of

ISessionStructure.previousCounter


receiverChains

receiverChains: IChain[]

Defined in: WAProto/index.d.ts:10898

Implementation of

ISessionStructure.receiverChains


remoteIdentityPublic?

optional remoteIdentityPublic: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:10894

Implementation of

ISessionStructure.remoteIdentityPublic


remoteRegistrationId?

optional remoteRegistrationId: null | number

Defined in: WAProto/index.d.ts:10901

Implementation of

ISessionStructure.remoteRegistrationId


rootKey?

optional rootKey: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:10895

Implementation of

ISessionStructure.rootKey


senderChain?

optional senderChain: null | IChain

Defined in: WAProto/index.d.ts:10897

Implementation of

ISessionStructure.senderChain


sessionVersion?

optional sessionVersion: null | number

Defined in: WAProto/index.d.ts:10892

Implementation of

ISessionStructure.sessionVersion

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:10910

Returns

object


create()

static create(properties?): SessionStructure

Defined in: WAProto/index.d.ts:10905

Parameters

properties?

ISessionStructure

Returns

SessionStructure


decode()

static decode(r, l?): SessionStructure

Defined in: WAProto/index.d.ts:10907

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

SessionStructure


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:10906

Parameters

m

ISessionStructure

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): SessionStructure

Defined in: WAProto/index.d.ts:10908

Parameters

d

Returns

SessionStructure


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:10911

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:10909

Parameters

m

SessionStructure

o?

IConversionOptions

Returns

object