mei_rt2mei_rt2_fix_1
Last change
on this file since a0c1772 was
bde4e91,
checked in by Mei <mei@…>, 12 years ago
|
1) add creddy_internal.h
|
-
Property mode set to
100755
|
File size:
410 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | """ |
---|
4 | See README for the semantics. This creates two of three prinicpals |
---|
5 | (Alpha and Bob) used by the example. |
---|
6 | |
---|
7 | """ |
---|
8 | import os |
---|
9 | import ABAC |
---|
10 | |
---|
11 | ctxt = ABAC.Context() |
---|
12 | |
---|
13 | alphaID=ABAC.ID("Alpha00", 0) |
---|
14 | alphaID.id_write_cert("Alpha00_ID.pem") |
---|
15 | alphaID.id_write_privkey("Alpha00_private.pem") |
---|
16 | |
---|
17 | bobID=ABAC.ID("Bob00", 0) |
---|
18 | bobID.id_write_cert("Bob00_ID.pem") |
---|
19 | bobID.id_write_privkey("Bob00_private.pem") |
---|
Note: See
TracBrowser
for help on using the repository browser.