source: examples/python_tests/access_rt2/setup.py @ 669b481

mei_rt2mei_rt2_fix_1
Last change on this file since 669b481 was 5d06689, checked in by Mei <mei@…>, 12 years ago

1) modify abac.hh and added abac_c.c to unify the c and c++ api

interface (almost)

2) add new API
3) tweak the tests
4) filling missing code for abac_verifier_load_attribute_cert_attribute

  • Property mode set to 100755
File size: 314 bytes
Line 
1#!/usr/bin/env python
2
3"""
4  to test with python
5
6
7"""
8import os
9import ABAC
10
11ctxt = ABAC.Context()
12
13alphaID=ABAC.ID("Alpha", 0)
14alphaID.id_write_cert("Alpha_ID.pem")
15alphaID.id_write_privkey("Alpha_private.pem")
16
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.