abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since bc7133b was
be6cb41,
checked in by Mei <mei@…>, 12 years ago
|
1) forgot to add the new files
|
-
Property mode set to
100755
|
File size:
599 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | """ |
---|
4 | See README for the semantics. This creates principals |
---|
5 | used by the example. |
---|
6 | """ |
---|
7 | import os |
---|
8 | import ABAC |
---|
9 | |
---|
10 | acme=ABAC.ID("Acme", 0) |
---|
11 | acme.write_cert_file("Acme_ID.pem") |
---|
12 | acme.write_privkey_file("Acme_private.pem") |
---|
13 | |
---|
14 | bobID=ABAC.ID("Bob", 0) |
---|
15 | bobID.write_cert_file("Bob_ID.pem") |
---|
16 | bobID.write_privkey_file("Bob_private.pem") |
---|
17 | |
---|
18 | aliceID=ABAC.ID("Alice", 0) |
---|
19 | aliceID.write_cert_file("Alice_ID.pem") |
---|
20 | aliceID.write_privkey_file("Alice_private.pem") |
---|
21 | |
---|
22 | globotronID=ABAC.ID("Globotron", 0) |
---|
23 | globotronID.write_cert_file("Globotron_ID.pem") |
---|
24 | globotronID.write_privkey_file("Globotron_private.pem") |
---|
25 | |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.