source: examples/python_tests/access_rt2/setup.py @ c6d5da3

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

1) take out accidentally committed setup.py changes

  • Property mode set to 100755
File size: 398 bytes
RevLine 
[5110d42]1#!/usr/bin/env python
2
3"""
[f824a9e]4See README for the semantics.  This creates two of three prinicpals
5(Alpha and Bob) used by the example.
[5110d42]6
7"""
8import os
9import ABAC
10
11ctxt = ABAC.Context()
12
[08c8a53]13alphaID=ABAC.ID("Alpha", 0)
14alphaID.id_write_cert("Alpha_ID.pem")
15alphaID.id_write_privkey("Alpha_private.pem")
[5110d42]16
[08c8a53]17bobID=ABAC.ID("Bob", 0)
18bobID.id_write_cert("Bob_ID.pem")
19bobID.id_write_privkey("Bob_private.pem")
Note: See TracBrowser for help on using the repository browser.