mei_rt2mei_rt2_fix_1
Last change
on this file since 7211a95 was
7211a95,
checked in by Mei <mei@…>, 12 years ago
|
1) add more python examples
2) add the missing linking role and linking oset api calls
3) fix the output of time typed data term/oset obj in typed_string format
(transform back from yap time format to our ddddddddTdddddd format
|
-
Property mode set to
100755
|
File size:
410 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | """ |
---|
4 | """ |
---|
5 | import os |
---|
6 | import ABAC |
---|
7 | |
---|
8 | ctxt = ABAC.Context() |
---|
9 | |
---|
10 | leagueID=ABAC.ID("League", 0) |
---|
11 | leagueID.id_write_cert("League_ID.pem") |
---|
12 | leagueID.id_write_privkey("League_private.pem") |
---|
13 | |
---|
14 | johnID=ABAC.ID("John", 0) |
---|
15 | johnID.id_write_cert("John_ID.pem") |
---|
16 | johnID.id_write_privkey("John_private.pem") |
---|
17 | |
---|
18 | markID=ABAC.ID("Mark", 0) |
---|
19 | markID.id_write_cert("Mark_ID.pem") |
---|
20 | markID.id_write_privkey("Mark_private.pem") |
---|
21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.