source: examples/python_tests/basic_id/README @ 315ab8d

mei_rt2mei_rt2_fix_1
Last change on this file since 315ab8d was b8a6fd2a, checked in by Mei <mei@…>, 12 years ago

1) add new tests for attribute creation also for Attribute_chunk,

ID_chunk

  • Property mode set to 100755
File size: 957 bytes
RevLine 
[5110d42]1#####################################################################
[f824a9e]2# This example demonstrates various ways to create and access
3# ID credentials using libabac api
4
[5110d42]5
[f824a9e]6case 1: make ID
7        writing cert file
8        writing key file
9        load cert, key file
[5110d42]10
[f824a9e]11case 2: make ID
12        load ID
13
14case 3: make ID
[09496b3]15        write key to combo file
16        write cert to combo file
[f824a9e]17        load combo file
18
19case 4: make ID
[09496b3]20        write key to unconventional name
21        write cert to unconventional name
[f824a9e]22        load unconventional filename
23       
24case 5: make ID
25        write cert to combo file
26        load combo file
27
28case 6: make ID
29        write key to combo file
30        load combo file
31
[09496b3]32case 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]37case 8: make ID
[b8a6fd2a]38        extract id cert chunk from ID
39        load the cert chunk directly into context
[dfe6b61]40
41case 9: load unknown combo file
[09496b3]42
Note: See TracBrowser for help on using the repository browser.