| Algorithm 1 IssueGroupPublicKey |
| Input: groupID, groupPublicKey |
| Output: bool |
| 1: if msg.sender is not AccessControlServer |
| 2: return false; |
| 3: end if |
| 4: add groupID to Groups collection |
| 5: mapping groupPublicKey to groupID |
| 6: return true; |
| Algorithm 1 IssueGroupPublicKey |
| Input: groupID, groupPublicKey |
| Output: bool |
| 1: if msg.sender is not AccessControlServer |
| 2: return false; |
| 3: end if |
| 4: add groupID to Groups collection |
| 5: mapping groupPublicKey to groupID |
| 6: return true; |