Research Article
Trusted and Efficient Cross-Domain Access Control System Based on Blockchain
(1) | Input: devID | (2) | output: string | (3) | % obtain the device’s access policy. | (4) | policy = Stub.GetState (devID); | (5) | if (policy ! = null) then | (6) | return policy; | (7) | else | (8) | return ‘9002’; |
|