source: tests/python_tests/acme_rockets_rt0/setup.py @ 6cd69a0

abac0-leakabac0-mei
Last change on this file since 6cd69a0 was ec550f7, checked in by Mei <mei@…>, 11 years ago

1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading

an attribute credentials

4) add examples of GENI specific attribute credentials

and principal certificates into the regression testing

5) rename examples to tests

  • Property mode set to 100755
File size: 480 bytes
Line 
1#!/usr/bin/env python
2
3"""
4See README for the semantics.
5sets up 2 (Acme, Coyote) principal ID credentials
6"""
7import os
8import ABAC
9
10acme=ABAC.ID("Acme", 0)
11acme.write_cert_file("Acme_ID.pem")
12acme.write_privkey_file("Acme_private.pem")
13
14coyote=ABAC.ID("Coyote", 0)
15coyote.write_cert_file("Coyote_ID.pem")
16coyote.write_privkey_file("Coyote_private.pem")
17
18bigbird=ABAC.ID("Bigbird", 0)
19bigbird.write_cert_file("Bigbird_ID.pem")
20bigbird.write_privkey_file("Bigbird_private.pem")
21
Note: See TracBrowser for help on using the repository browser.