source:
examples/python_tests/basic_id/README
@
11ca336
Last change on this file since 11ca336 was b8a6fd2a, checked in by , 12 years ago | |
---|---|
|
|
File size: 957 bytes |
Rev | Line | |
---|---|---|
[5110d42] | 1 | ##################################################################### |
[f824a9e] | 2 | # This example demonstrates various ways to create and access |
3 | # ID credentials using libabac api | |
4 | # | |
[5110d42] | 5 | |
[f824a9e] | 6 | case 1: make ID |
7 | writing cert file | |
8 | writing key file | |
9 | load cert, key file | |
[5110d42] | 10 | |
[f824a9e] | 11 | case 2: make ID |
12 | load ID | |
13 | ||
14 | case 3: make ID | |
[09496b3] | 15 | write key to combo file |
16 | write cert to combo file | |
[f824a9e] | 17 | load combo file |
18 | ||
19 | case 4: make ID | |
[09496b3] | 20 | write key to unconventional name |
21 | write cert to unconventional name | |
[f824a9e] | 22 | load unconventional filename |
23 | ||
24 | case 5: make ID | |
25 | write cert to combo file | |
26 | load combo file | |
27 | ||
28 | case 6: make ID | |
29 | write key to combo file | |
30 | load combo file | |
31 | ||
[09496b3] | 32 | case 7: make ID |
[b8a6fd2a] | 33 | extract id chunk cert from ID |
34 | make another ID with the chunk cert | |
[09496b3] | 35 | load new ID |
36 | ||
[dfe6b61] | 37 | case 8: make ID |
[b8a6fd2a] | 38 | extract id cert chunk from ID |
39 | load the cert chunk directly into context | |
[dfe6b61] | 40 | |
41 | case 9: load unknown combo file | |
[09496b3] | 42 |
Note: See TracBrowser
for help on using the repository browser.