source: tests/scaling_tests/daisychain/likes_python/base/SETUP.py @ b838398

abac0-leak
Last change on this file since b838398 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: 342 bytes
Line 
1#!/usr/bin/env python
2
3"""
4See README for the semantics.  This creates principals
5used by the example.
6"""
7import os
8import ABAC
9
10ctxt = ABAC.Context()
11
12i=0
13while i <= #VAL#:
14     n="John%s"%i
15     nid="%s_ID.pem"%n
16     np="%s_private.pem"%n
17     aD=ABAC.ID(n, 0)
18     aD.write_cert_file(nid)
19     aD.write_privkey_file(np)
20     i = i+1
21
22
23
Note: See TracBrowser for help on using the repository browser.