Skip to main content

HandshakeRequest

@hyperledger/identus-sdk v8.1.3


@hyperledger/identus-sdk / plugins/internal/oea / HandshakeRequest

Class: HandshakeRequest

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:17

Constructors​

Constructor​

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

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:20

Parameters​

ParameterType
bodyHandshakeRequestBody
fromDID
toDID
thid?string
id?string

Returns​

HandshakeRequest

Properties​

PropertyModifierTypeDefault valueDefined in
bodypublicHandshakeRequestBodyundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:21
frompublicDIDundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:22
idpublicstringundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:25
thid?publicstringundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:24
topublicDIDundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:23
typestatic"https://atalaprism.io/mercury/connections/1.0/request"OEA.ProtocolIds.ConnectionRequestpackages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:18

Methods​

makeMessage()​

makeMessage(): Message

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:28

Returns​

Message


fromMessage()​

static fromMessage(msg: Message, from: DID): HandshakeRequest

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:40

Parameters​

ParameterType
msgMessage
fromDID

Returns​

HandshakeRequest


fromOutOfBand()​

static fromOutOfBand(inviteMessage: OutOfBandInvitation, from: DID): HandshakeRequest

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:67

Parameters​

ParameterType
inviteMessageOutOfBandInvitation
fromDID

Returns​

HandshakeRequest