source: examples/python_tests/acme_rockets_rt0/setup.py @ 2b4e740

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

1) add more doc to python_tests

  • Property mode set to 100755
File size: 372 bytes
RevLine 
[5f551d3]1#!/usr/bin/env python
2
3"""
[f824a9e]4See README for the semantics.
5sets up 2 (Acme, Coyote) principal ID credentials
[5f551d3]6"""
7import os
8import ABAC
9
10ctxt = ABAC.Context()
11
[f824a9e]12acme=ABAC.ID("Acme", 0)
13acme.id_write_cert("Acme_ID.pem")
14acme.id_write_privkey("Acme_private.pem")
[5f551d3]15
16coyote=ABAC.ID("Coyote", 0)
17coyote.id_write_cert("Coyote_ID.pem")
18coyote.id_write_privkey("Coyote_private.pem")
19
Note: See TracBrowser for help on using the repository browser.