Research Article
Trusted and Efficient Cross-Domain Access Control System Based on Blockchain
(1) | Input: uID | (2) | output: string | (3) | % obtain the user’s role from blockchain. | (4) | role = stub.GetState (uID) | (5) | if role ! = null then | (6) | return role; | (7) | else | (8) | return ‘9000’; |
|