Research Article
Trusted and Efficient Cross-Domain Access Control System Based on Blockchain
(1) | Input: string, string % userRole_update, policy_update %uID, devID | (2) | output: bool | (3) | ahList = getAHL(); | (4) | Case “userRole_update”; | (5) | for list in ahList | (6) | if list.uID = = uID then | (7) | ahList.DeleteRow (list); | (8) | return 0; | (9) | Case “policy_update”; | (10) | for list in ahList | (11) | if list.devID = = devID then | (12) | ahList.DeleteRow (list); | (13) | return 0; |
|