Skip to main content

Class: SessionStructure

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

Implements

Constructors

new SessionStructure()

new SessionStructure(p?): SessionStructure

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

Parameters

p?

ISessionStructure

Returns

SessionStructure

Properties

aliceBaseKey

aliceBaseKey: Uint8Array

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

Implementation of

ISessionStructure.aliceBaseKey


localIdentityPublic

localIdentityPublic: Uint8Array

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

Implementation of

ISessionStructure.localIdentityPublic


localRegistrationId

localRegistrationId: number

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

Implementation of

ISessionStructure.localRegistrationId


needsRefresh

needsRefresh: boolean

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

Implementation of

ISessionStructure.needsRefresh


pendingKeyExchange?

optional pendingKeyExchange: null | IPendingKeyExchange

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

Implementation of

ISessionStructure.pendingKeyExchange


pendingPreKey?

optional pendingPreKey: null | IPendingPreKey

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

Implementation of

ISessionStructure.pendingPreKey


previousCounter

previousCounter: number

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

Implementation of

ISessionStructure.previousCounter


receiverChains

receiverChains: IChain[]

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

Implementation of

ISessionStructure.receiverChains


remoteIdentityPublic

remoteIdentityPublic: Uint8Array

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

Implementation of

ISessionStructure.remoteIdentityPublic


remoteRegistrationId

remoteRegistrationId: number

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

Implementation of

ISessionStructure.remoteRegistrationId


rootKey

rootKey: Uint8Array

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

Implementation of

ISessionStructure.rootKey


senderChain?

optional senderChain: null | IChain

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

Implementation of

ISessionStructure.senderChain


sessionVersion

sessionVersion: number

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

Implementation of

ISessionStructure.sessionVersion

Methods

create()

static create(properties?): SessionStructure

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

Parameters

properties?

ISessionStructure

Returns

SessionStructure


decode()

static decode(r, l?): SessionStructure

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

SessionStructure


encode()

static encode(m, w?): Writer

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

Parameters

m

ISessionStructure

w?

Writer

Returns

Writer


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string