github.com/hyperledger/aries-framework-go@v0.3.2/pkg/client/didexchange/doc.go (about)

     1  /*
     2  Copyright SecureKey Technologies Inc. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  // Package didexchange enables relationship between two agents via DID Exchange Protocol.
     8  // The exchange 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 exchange response message
    10  // is used to complete the exchange and communicate the DID document of the inviter to the invitee.
    11  // After inviter receives the exchange response, the exchange is technically complete however it is still
    12  // unconfirmed to the inviter. The invitee sends ACK message to inviter to confirm the exchange.
    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 didexchange