abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since ecb1628 was
be6cb41,
checked in by Mei <mei@…>, 12 years ago
|
1) forgot to add the new files
|
-
Property mode set to
100755
|
File size:
1013 bytes
|
Rev | Line | |
---|
[be6cb41] | 1 | ##################################################################### |
---|
| 2 | # This example demonstrates various ways to create and access |
---|
| 3 | # ID credentials using libabac api |
---|
| 4 | # |
---|
| 5 | |
---|
| 6 | case 1: make ID -- not in RT0 |
---|
| 7 | writing cert file |
---|
| 8 | writing key file |
---|
| 9 | load cert, key file |
---|
| 10 | |
---|
| 11 | case 2: make ID -- not in RT0 |
---|
| 12 | load ID |
---|
| 13 | |
---|
| 14 | case 3: make ID -- not in RT0? |
---|
| 15 | write key to combo file |
---|
| 16 | write cert to combo file |
---|
| 17 | load combo file |
---|
| 18 | |
---|
| 19 | case 4: make ID |
---|
| 20 | write key to unconventional name |
---|
| 21 | write cert to unconventional name |
---|
| 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 | |
---|
| 32 | case 7: make ID |
---|
| 33 | extract id chunk cert from ID |
---|
| 34 | make another ID with the chunk cert |
---|
| 35 | load new ID(as chunk) |
---|
| 36 | |
---|
| 37 | case 8: make ID |
---|
| 38 | extract id cert chunk from ID |
---|
| 39 | load the cert chunk directly into context |
---|
| 40 | |
---|
| 41 | case 9: load unknown combo file |
---|
| 42 | |
---|
| 43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.