Skip to main content

@hyperledger/identus-edge-agent-sdk / Exports / HandshakeRequest

Class: HandshakeRequest

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new HandshakeRequest(body, from, to, thid?, id?): HandshakeRequest

Parameters

NameType
bodyHandshakeRequestBody
fromDID
toDID
thid?string
idstring

Returns

HandshakeRequest

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:13

Properties

body

body: HandshakeRequestBody

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:14


from

from: DID

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:15


id

id: string

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:18


thid

Optional thid: string

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:17


to

to: DID

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:16


type

Static type: ProtocolType = ProtocolType.DidcommconnectionRequest

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:11

Methods

makeMessage

makeMessage(): Message

Returns

Message

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:21


fromMessage

fromMessage(inviteMessage, from): HandshakeRequest

Parameters

NameType
inviteMessageMessage
fromDID

Returns

HandshakeRequest

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:59


fromOutOfBand

fromOutOfBand(inviteMessage, from): HandshakeRequest

Parameters

NameType
inviteMessageOutOfBandInvitation
fromDID

Returns

HandshakeRequest

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:76


safeParseBody

safeParseBody(msg): HandshakeRequestBody

Parameters

NameType
msgMessage

Returns

HandshakeRequestBody

Defined in

src/edge-agent/protocols/connection/HandshakeRequest.ts:34