Skip to main content

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

ParameterType
bodyHandshakeRequestBody
fromDID
toDID
thid?string
id?string

Returns

HandshakeRequest

Properties

PropertyModifierTypeDefault valueDefined in
bodypublicHandshakeRequestBodyundefinedsrc/plugins/internal/oea/protocols/HandshakeRequest.ts:21
frompublicDIDundefinedsrc/plugins/internal/oea/protocols/HandshakeRequest.ts:22
idpublicstringundefinedsrc/plugins/internal/oea/protocols/HandshakeRequest.ts:25
thid?publicstringundefinedsrc/plugins/internal/oea/protocols/HandshakeRequest.ts:24
topublicDIDundefinedsrc/plugins/internal/oea/protocols/HandshakeRequest.ts:23
typestatic"https://atalaprism.io/mercury/connections/1.0/request"OEA.ProtocolIds.ConnectionRequestsrc/plugins/internal/oea/protocols/HandshakeRequest.ts:18

Methods

makeMessage()

makeMessage(): Message

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

Returns

Message


fromMessage()

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

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

Parameters

ParameterType
msgMessage
fromDID

Returns

HandshakeRequest


fromOutOfBand()

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

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

Parameters

ParameterType
inviteMessageOutOfBandInvitation
fromDID

Returns

HandshakeRequest