#!/usr/bin/env python """ See README for the semantics. This creates two of three prinicpals (Alpha and Bob) used by the example. """ import os import ABAC ctxt = ABAC.Context() alphaID=ABAC.ID("Alpha00", 0) alphaID.id_write_cert("Alpha00_ID.pem") alphaID.id_write_privkey("Alpha00_private.pem") bobID=ABAC.ID("Bob00", 0) bobID.id_write_cert("Bob00_ID.pem") bobID.id_write_privkey("Bob00_private.pem")