abac0-leakabac0-mei
Last change
on this file since 6cd69a0 was
ec550f7,
checked in by Mei <mei@…>, 11 years ago
|
1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading
an attribute credentials
4) add examples of GENI specific attribute credentials
and principal certificates into the regression testing
5) rename examples to tests
|
-
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.