HandshakeRequest
@hyperledger/identus-sdk v8.0.0
@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
| Parameter | Type |
|---|---|
body | HandshakeRequestBody |
from | DID |
to | DID |
thid? | string |
id? | string |
Returns
HandshakeRequest
Properties
| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
body | public | HandshakeRequestBody | undefined | packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:21 |
from | public | DID | undefined | packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:22 |
id | public | string | undefined | packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:25 |
thid? | public | string | undefined | packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:24 |
to | public | DID | undefined | packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:23 |
type | static | "https://atalaprism.io/mercury/connections/1.0/request" | OEA.ProtocolIds.ConnectionRequest | packages/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
fromMessage()
staticfromMessage(msg:Message,from:DID):HandshakeRequest
Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:40
Parameters
| Parameter | Type |
|---|---|
msg | Message |
from | DID |
Returns
HandshakeRequest
fromOutOfBand()
staticfromOutOfBand(inviteMessage:OutOfBandInvitation,from:DID):HandshakeRequest
Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/HandshakeRequest.ts:67
Parameters
| Parameter | Type |
|---|---|
inviteMessage | OutOfBandInvitation |
from | DID |
Returns
HandshakeRequest