source: examples/python_tests/experiment_create_rt0/setup.py @ 163aadf

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 163aadf was be6cb41, checked in by Mei <mei@…>, 11 years ago

1) forgot to add the new files

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