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:
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.