source: tests/creddy_prover_tests/ice_cream_rt0/README @ 4423f47

abac0-leakabac0-meimei-idtvf-new-xml
Last change on this file since 4423f47 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: 680 bytes
Line 
1#!/bin/sh
2#
3# This simple example makes use of 2 principals, IceCream and Chocolate.
4#
5# This example shows a very simple delegation of roles by IceCream.  A
6# delicious flavor of IceCream is Chocolate.
7#
8
9
10#IceCream.delicious <- Chocolate
11
12rm -rf *.pem *.xml
13
14pwd=`pwd`
15eloc=`which creddy | sed 's/\/creddy//'`
16if [ "$eloc" = "" ]; then
17  echo "ERROR: creddy is not in the search path!!!"
18  exit 1
19fi
20
21$eloc/creddy --generate --cn IceCream
22
23$eloc/creddy --generate --cn Chocolate
24
25$eloc/creddy --attribute \
26       --issuer IceCream_ID.pem --key IceCream_private.pem --role delicious \
27       --subject-cert Chocolate_ID.pem \
28       --out IceCream_delicious__Chocolate_attr.xml
Note: See TracBrowser for help on using the repository browser.