source: tests/python_tests/experiment_create_rt0/setup.py @ ec550f7

abac0-leakabac0-meimei-idtvf-new-xml
Last change on this file since ec550f7 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: 599 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
10acme=ABAC.ID("Acme", 0)
11acme.write_cert_file("Acme_ID.pem")
12acme.write_privkey_file("Acme_private.pem")
13
14bobID=ABAC.ID("Bob", 0)
15bobID.write_cert_file("Bob_ID.pem")
16bobID.write_privkey_file("Bob_private.pem")
17
18aliceID=ABAC.ID("Alice", 0)
19aliceID.write_cert_file("Alice_ID.pem")
20aliceID.write_privkey_file("Alice_private.pem")
21
22globotronID=ABAC.ID("Globotron", 0)
23globotronID.write_cert_file("Globotron_ID.pem")
24globotronID.write_privkey_file("Globotron_private.pem")
25
26
Note: See TracBrowser for help on using the repository browser.