source: examples/python_tests/acme_rockets_intersection_rt0/setup.py @ c00fcc3

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

1) forgot to add the new files

  • Property mode set to 100755
File size: 639 bytes
RevLine 
[be6cb41]1#!/usr/bin/env python
2
3"""
4See README for the semantics.  This creates four principals used
5by the example.
6
7"""
8import os
9import ABAC
10
11ctxt = ABAC.Context()
12
13acme=ABAC.ID("Acme", 0)
14acme.write_cert_file("Acme_ID.pem")
15acme.write_privkey_file("Acme_private.pem")
16
17coyote=ABAC.ID("Coyote", 0)
18coyote.write_cert_file("Coyote_ID.pem")
19coyote.write_privkey_file("Coyote_private.pem")
20
21warnerbros=ABAC.ID("WarnerBros", 0)
22warnerbros.write_cert_file("WarnerBros_ID.pem")
23warnerbros.write_privkey_file("WarnerBros_private.pem")
24
25batman=ABAC.ID("Batman", 0)
26batman.write_cert_file("Batman_ID.pem")
27batman.write_privkey_file("Batman_private.pem")
28
Note: See TracBrowser for help on using the repository browser.