#!/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("Alpha", 0) alphaID.id_write_cert("Alpha_ID.pem") alphaID.id_write_privkey("Alpha_private.pem") bobID=ABAC.ID("Bob", 0) bobID.id_write_cert("Bob_ID.pem") bobID.id_write_privkey("Bob_private.pem")