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); { k } k c

HAC retrieves EMR from IPFS and reads its DID

P.2 HAC IPFS : H(F1)

P.3 IPFS HAC : D I D , { E M R } k M , { H ( M ) } k p 1 F 1

HAC retrieves the key kb associated to DID from Indy

P.4 HAC Indy : DID

P.5 Indy HAC : DID, kb, { H ( D I D , k b ) } k p 1

HAC challenges Patient to prove that he is the owner of kb

P.6 HAC Patient : DID, Nc

P.7 Patient PatientUSB : H(DID, Nc)

P.8 PatientUSB Patient : { H ( D I D , N c ) } k b 1

P.9 Patient HAC : { H ( D I D , N c ) } k b 1