github.com/hyperledger/aries-framework-go@v0.3.2/pkg/client/legacyconnection/doc.go (about) 1 /* 2 Copyright Avast Software. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 // Package legacyconnection enables relationship between two agents via Connection RFC-0160 Protocol. 8 // The connection request message is used to communicate the DID document of the invitee to the inviter 9 // using the provisional service information present in the invitation message. The connection response message 10 // is used to complete the connection and communicate the DID document of the inviter to the invitee. 11 // After inviter receives the connection response, the establishment of connection is technically complete 12 // however it is still unconfirmed to the inviter. The invitee sends ACK message to inviter to confirm the connection. 13 // 14 // Basic Flow: 15 // 1) Prepare client context 16 // 2) Create client 17 // 3) Register for action events (enables auto execution) 18 // 4) Create Invitation 19 // 5) Handle invitation 20 // 6) Use connection 21 // 22 package legacyconnection