Table of Contents

Class HandshakeResult

Namespace
The.RPC
Assembly
Instagile.dll

Extended ConnectResult which may include a session handshake.

[MessagePackObject(false)]
public sealed class HandshakeResult : ConnectResult
Inheritance
HandshakeResult
Inherited Members

Constructors

HandshakeResult(bool, Identity?, byte[]?, SessionChallenge?, byte[]?)

[SerializationConstructor]
public HandshakeResult(bool isLegacy, Identity? authenticatedIdentity, byte[]? encryptedHandshake, SessionChallenge? challenge = null, byte[]? sessionTicket = null)

Parameters

isLegacy bool
authenticatedIdentity Identity
encryptedHandshake byte[]
challenge SessionChallenge
sessionTicket byte[]

Fields

Challenge

A challenge the client must answer by connecting again, before the server will return a handshake.

[Key(3)]
public readonly SessionChallenge? Challenge

Field Value

SessionChallenge

EncryptedHandshake

[Key(2)]
public readonly byte[]? EncryptedHandshake

Field Value

byte[]

SessionTicket

The session sealed by the server, which the client returns with each request.

[Key(4)]
public readonly byte[]? SessionTicket

Field Value

byte[]

Properties

RequiresPasswordReset

Set by the client when the decrypted handshake established a session that may only replace a temporary password.

[IgnoreMember]
public bool RequiresPasswordReset { get; init; }

Property Value

bool