Skip to main content

Class: SessionStructure

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

Implements

Constructors

new SessionStructure()

new SessionStructure(p?): SessionStructure

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

Parameters

p?

ISessionStructure

Returns

SessionStructure

Properties

aliceBaseKey?

optional aliceBaseKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.aliceBaseKey


localIdentityPublic?

optional localIdentityPublic: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.localIdentityPublic


localRegistrationId?

optional localRegistrationId: null | number

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

Implementation of

ISessionStructure.localRegistrationId


needsRefresh?

optional needsRefresh: null | boolean

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

Implementation of

ISessionStructure.needsRefresh


pendingKeyExchange?

optional pendingKeyExchange: null | IPendingKeyExchange

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

Implementation of

ISessionStructure.pendingKeyExchange


pendingPreKey?

optional pendingPreKey: null | IPendingPreKey

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

Implementation of

ISessionStructure.pendingPreKey


previousCounter?

optional previousCounter: null | number

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

Implementation of

ISessionStructure.previousCounter


receiverChains

receiverChains: IChain[]

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

Implementation of

ISessionStructure.receiverChains


remoteIdentityPublic?

optional remoteIdentityPublic: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.remoteIdentityPublic


remoteRegistrationId?

optional remoteRegistrationId: null | number

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

Implementation of

ISessionStructure.remoteRegistrationId


rootKey?

optional rootKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.rootKey


senderChain?

optional senderChain: null | IChain

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

Implementation of

ISessionStructure.senderChain


sessionVersion?

optional sessionVersion: null | number

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

Implementation of

ISessionStructure.sessionVersion

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): SessionStructure

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

Parameters

properties?

ISessionStructure

Returns

SessionStructure


decode()

static decode(r, l?): SessionStructure

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

SessionStructure


encode()

static encode(m, w?): Writer

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

Parameters

m

ISessionStructure

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): SessionStructure

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

Parameters

d

Returns

SessionStructure


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

SessionStructure

o?

IConversionOptions

Returns

object