Skip to main content

SessionStructure

amiudmodz


amiudmodz / proto / SessionStructure

Class: SessionStructure

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

Implements

Constructors

new SessionStructure()

new SessionStructure(p?): SessionStructure

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

Parameters

p?

ISessionStructure

Returns

SessionStructure

Properties

aliceBaseKey?

optional aliceBaseKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.aliceBaseKey


localIdentityPublic?

optional localIdentityPublic: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.localIdentityPublic


localRegistrationId?

optional localRegistrationId: null | number

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

Implementation of

ISessionStructure.localRegistrationId


needsRefresh?

optional needsRefresh: null | boolean

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

Implementation of

ISessionStructure.needsRefresh


pendingKeyExchange?

optional pendingKeyExchange: null | IPendingKeyExchange

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

Implementation of

ISessionStructure.pendingKeyExchange


pendingPreKey?

optional pendingPreKey: null | IPendingPreKey

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

Implementation of

ISessionStructure.pendingPreKey


previousCounter?

optional previousCounter: null | number

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

Implementation of

ISessionStructure.previousCounter


receiverChains

receiverChains: IChain[]

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

Implementation of

ISessionStructure.receiverChains


remoteIdentityPublic?

optional remoteIdentityPublic: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.remoteIdentityPublic


remoteRegistrationId?

optional remoteRegistrationId: null | number

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

Implementation of

ISessionStructure.remoteRegistrationId


rootKey?

optional rootKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISessionStructure.rootKey


senderChain?

optional senderChain: null | IChain

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

Implementation of

ISessionStructure.senderChain


sessionVersion?

optional sessionVersion: null | number

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

Implementation of

ISessionStructure.sessionVersion

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): SessionStructure

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

Parameters

properties?

ISessionStructure

Returns

SessionStructure


decode()

static decode(r, l?): SessionStructure

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

SessionStructure


encode()

static encode(m, w?): Writer

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

Parameters

m

ISessionStructure

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): SessionStructure

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

Parameters

d

Returns

SessionStructure


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

SessionStructure

o?

IConversionOptions

Returns

object