Patient provides to HAC the address, H(F1), of his EMR in IPFS as well as the key allowing to decrypt it |
P.1 Patient HAC : H(F1); |
HAC retrieves EMR from IPFS and reads its DID |
P.2 HAC IPFS : H(F1) P.3 IPFS HAC : |
HAC retrieves the key kb associated to DID from Indy |
P.4 HAC Indy : DID P.5 Indy HAC : DID, kb, |
HAC challenges Patient to prove that he is the owner of kb |
P.6 HAC Patient : DID, Nc P.7 Patient Patient—USB : H(DID, Nc) P.8 Patient—USB Patient : P.9 Patient HAC : |