aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpts/plugins/imv_attestation/attest_usage.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-11-27 19:10:29 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-11-28 21:24:00 +0100
commitf2a521e7953342e3c9fb7d2742faa55ba015bf8a (patch)
treea0e7ceb4113677b8a1d80773ea6bb704d63fa4d5 /src/libpts/plugins/imv_attestation/attest_usage.c
parent86a6f698cbb86a72d7a0d3c60f38a1d00f5e9377 (diff)
downloadstrongswan-f2a521e7953342e3c9fb7d2742faa55ba015bf8a.tar.bz2
strongswan-f2a521e7953342e3c9fb7d2742faa55ba015bf8a.tar.xz
bound functional component measurements to AIK
Diffstat (limited to 'src/libpts/plugins/imv_attestation/attest_usage.c')
-rw-r--r--src/libpts/plugins/imv_attestation/attest_usage.c32
1 files changed, 26 insertions, 6 deletions
diff --git a/src/libpts/plugins/imv_attestation/attest_usage.c b/src/libpts/plugins/imv_attestation/attest_usage.c
index 964e10084..952b88b89 100644
--- a/src/libpts/plugins/imv_attestation/attest_usage.c
+++ b/src/libpts/plugins/imv_attestation/attest_usage.c
@@ -24,16 +24,14 @@ void usage(void)
{
printf("\
Usage:\n\
- ipsec attest --files|--components|--products|--hashes|--add|--del [options]\n\
+ ipsec attest --files|--products|--keys|--hashes [options]\n\
+ \n\
+ ipsec attest --components|-keys|--measurements|--add|--del [options]\n\
\n\
ipsec attest --files [--product <name>|--pid <id>]\n\
Show a list of files with a software product name or\n\
its primary key as an optional selector.\n\
\n\
- ipsec attest --components [--product <name>|--pid <id>]\n\
- Show a list of components with a software product name or\n\
- its primary key as an optional selector.\n\
- \n\
ipsec attest --products [--file <path>|--fid <id>]\n\
Show a list of supported software products with a file path or\n\
its primary key as an optional selector.\n\
@@ -46,15 +44,37 @@ Usage:\n\
Show a list of measurement hashes for a given file or\n\
its primary key as an optional selector.\n\
\n\
+ ipsec attest --components [--key <digest>|--kid <id>]\n\
+ Show a list of components with an AIK digest or\n\
+ its primary key as an optional selector.\n\
+ \n\
+ ipsec attest --keys [--components <cfn>|--cid <id>]\n\
+ Show a list of AIK key digests with a component or\n\
+ its primary key as an optional selector.\n\
+ \n\
+ ipsec attest --measurements [--sha1|--sha256|--sha384] [--component <cfn>|--cid <id>]\n\
+ Show a list of component measurements for a given component or\n\
+ its primary key as an optional selector.\n\
+ \n\
+ ipsec attest --measurements [--sha1|--sha256|--sha384] [--key <digest>|--kid <id>]\n\
+ Show a list of component measurements for a given AIK or\n\
+ its primary key as an optional selector.\n\
+ \n\
ipsec attest --add --file <path>|--dir <path>|--product <name>|--component <cfn>\n\
Add a file, directory, product or component entry\n\
Component <cfn> entries must be of the form <vendor_id>/<name>-<qualifier>\n\
\n\
+ ipsec attest --add [--owner <name>] --key <digest>\n\
+ Add an AIK public key digest entry preceded by an optional owner name\n\
+ \n\
ipsec attest --del --file <path>|--fid <id>|--dir <path>|--did <id>\n\
- Delete a file or directoryentry referenced either by value or primary key\n\
+ Delete a file or directory entry referenced either by value or primary key\n\
\n\
ipsec attest --del --product <name>|--pid <id>|--component <cfn>|--cid <id>\n\
Delete a product or component entry referenced either by value or primary key\n\
+ \n\
+ ipsec attest --del --key <digest>|--kid <id>\n\
+ Delete an AIK entry referenced either by value or primary key\n\
\n");
}