abac0-leakabac0-meitvf-new-xml
Last change
on this file since f520b1e 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:
310 bytes
|
Rev | Line | |
---|
[4721618] | 1 | #!/usr/bin/perl |
---|
| 2 | |
---|
| 3 | use ABAC; |
---|
| 4 | |
---|
| 5 | my $filename = shift || die "Usage: abac_keyid.pl <cert.pem>\n"; |
---|
| 6 | |
---|
| 7 | my $id; |
---|
| 8 | eval { |
---|
| 9 | # will throw a RuntimeException if it can't load the cert |
---|
| 10 | $id = ABAC::ID->new($filename); |
---|
| 11 | }; |
---|
| 12 | if ($@) { |
---|
| 13 | print "ERROR, Problem loading cert: $@"; |
---|
| 14 | exit; |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | print $id->keyid, " OKAY\n"; |
---|
Note: See
TracBrowser
for help on using the repository browser.