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:
712 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | """ |
---|
4 | See README for the semantics. This creates principals |
---|
5 | using ID and write out the credential file pair, cert/privkey |
---|
6 | """ |
---|
7 | import os |
---|
8 | import ABAC |
---|
9 | |
---|
10 | jackID=ABAC.ID("Jack", 0) |
---|
11 | jackID.write_cert_file("Jack_ID.pem") |
---|
12 | jackID.write_privkey_file("Jack_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 | markID=ABAC.ID("Mark2", 0) |
---|
19 | markID.write_privkey_file("Mark2_IDKEY.pem") |
---|
20 | markID.write_cert_file("Mark2_IDKEY.pem") |
---|
21 | |
---|
22 | johnID=ABAC.ID("John2", 0) |
---|
23 | johnID.write_cert_file("John2_other.pem") |
---|
24 | |
---|
25 | tomID=ABAC.ID("Tom2", 0) |
---|
26 | tomID.write_privkey_file("Tom2_IDKEY.pem") |
---|
27 | |
---|
28 | loriID=ABAC.ID("Lori2", 0) |
---|
29 | loriID.write_cert_file("Lori2_IDKEY.pem") |
---|
30 | |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.