@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
Name | Type |
---|---|
body | HandshakeRequestBody |
from | DID |
to | DID |
thid? | string |
id | string |
Returns
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
Defined in
src/edge-agent/protocols/connection/HandshakeRequest.ts:21
fromMessage
▸ fromMessage(inviteMessage
, from
): HandshakeRequest
Parameters
Name | Type |
---|---|
inviteMessage | Message |
from | DID |
Returns
Defined in
src/edge-agent/protocols/connection/HandshakeRequest.ts:59
fromOutOfBand
▸ fromOutOfBand(inviteMessage
, from
): HandshakeRequest
Parameters
Name | Type |
---|---|
inviteMessage | OutOfBandInvitation |
from | DID |
Returns
Defined in
src/edge-agent/protocols/connection/HandshakeRequest.ts:76
safeParseBody
▸ safeParseBody(msg
): HandshakeRequestBody
Parameters
Name | Type |
---|---|
msg | Message |