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

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

1) add more doc to python_tests

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