HandshakeRequest
@hyperledger/identus-sdk v7.0.0
@hyperledger/identus-sdk / plugins/internal/oea / HandshakeRequest
Class: HandshakeRequest
Defined in: 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: 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 | src/plugins/internal/oea/protocols/HandshakeRequest.ts:21 | 
| from | public | DID | undefined | src/plugins/internal/oea/protocols/HandshakeRequest.ts:22 | 
| id | public | string | undefined | src/plugins/internal/oea/protocols/HandshakeRequest.ts:25 | 
| thid? | public | string | undefined | src/plugins/internal/oea/protocols/HandshakeRequest.ts:24 | 
| to | public | DID | undefined | src/plugins/internal/oea/protocols/HandshakeRequest.ts:23 | 
| type | static | "https://atalaprism.io/mercury/connections/1.0/request" | OEA.ProtocolIds.ConnectionRequest | src/plugins/internal/oea/protocols/HandshakeRequest.ts:18 | 
Methods
makeMessage()
makeMessage():
Message
Defined in: src/plugins/internal/oea/protocols/HandshakeRequest.ts:28
Returns
fromMessage()
staticfromMessage(msg:Message,from:DID):HandshakeRequest
Defined in: 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: src/plugins/internal/oea/protocols/HandshakeRequest.ts:67
Parameters
| Parameter | Type | 
|---|---|
| inviteMessage | OutOfBandInvitation | 
| from | DID | 
Returns
HandshakeRequest