Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The first step in this project is to setup the offline signing process.offline signing following this tutorial. This involves several steps:

(1) generate a csr using some client provided private key / encryption algorithm. (e.g. ECDSA prime256v1)

(2) include the self-signed csr generated from the private key when enrolling new user with the fabric CA client;

see /test-applications/javascript/CAUtil.js

(3) build endorsement with transaction payload proposal and sign using the encryption algorithm corresponding to the private key

(4) send signed proposal to required peers and check responses

(5) if responses valid build a new commit with the endorsement from (2), sign commit with the private key encryption and send to peers

see function offlineSign(idx,network,chaincodeName,tx_params) in /asset-transfer-basic/application-javascript/app.js



TustID generated DID credentials will be used to sign transactions on the utility emissions channel Fabric network. 

...