source: tests/creddy_tests/attribute.sh @ 6d3fc40

abac0-leakabac0-meitvf-new-xml
Last change on this file since 6d3fc40 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: 1.0 KB
Line 
1#!/bin/sh
2
3pwd=`pwd`
4eloc=`which creddy | sed 's/\/creddy//'`
5if [ "$eloc" = "" ]; then
6  echo "ERROR: creddy is not in the search path!!!"
7  exit 1
8fi
9
10$eloc/creddy --attribute \
11       --issuer Acme_ID.pem --key Acme_private.pem --role roleOne \
12       --subject-cert Acme_ID.pem --subject-role simple_subject_role \
13       --out Acme_roleOne__Acme_simple_subject_role_attr.xml
14
15$eloc/creddy --attribute \
16       --issuer Acme_ID.pem --role roleTwo \
17       --subject-cert Acme_ID.pem --subject-role simple_subject_role \
18       --out Acme_roleTwo__Acme_simple_subject_role_attr.xml
19
20$eloc/creddy --attribute \
21       --issuer Acme_ID.pem --key Acme_private.pem --role roleThree \
22       --subject-cert Coyote_ID.pem --subject-role simple_subject_role \
23       --out Acme_roleThree__Coyote_simple_subject_role_attr.xml
24
25$eloc/creddy --attribute \
26       --issuer Acme_ID.pem --key Coyote_private.pem --role roleFour \
27       --subject-cert Coyote_ID.pem --subject-role simple_subject_role \
28       --out Acme_roleFour__Coyote_simple_subject_role_attr.xml
29
30
Note: See TracBrowser for help on using the repository browser.