Skip to main content
. 2020 Jun 2;20(11):3141. doi: 10.3390/s20113141
Algorithm 2: GetData
Require: DC’s ID, Proof of Access
  payable
  if Validation(DC’s ID, Proof of Access) then
    PaytoOwner(data value, DO’s address)
    SK,H(F) = GetfromOwner(set of attributes S)
    Fid,EF,CT = GetfromOffChain()
    skF=Decrypt(CT,SK)
    F=SymDec(EF,skF)
  else
    REJECT Getting
  end if