1tss2_setappdata(1) General Commands Manual tss2_setappdata(1)
2
3
4
6 tss2_setappdata(1)
7
9 tss2_setappdata [OPTIONS]
10
12 fapi-config(5) to adjust Fapi parameters like the used cryptographic
13 profile and TCTI or directories for the Fapi metadata storages.
14
15 fapi-profile(5) to determine the cryptographic algorithms and parame‐
16 ters for all keys and operations of a specific TPM interaction like the
17 name hash algorithm, the asymmetric signature algorithm, scheme and pa‐
18 rameters and PCR bank selection.
19
21 tss2_setappdata(1) - This command allows an application to associate an
22 arbitrary data blob with a given object. The data is stored and can be
23 returned with tss2_getappdata. Previously stored data is overwritten
24 by this function. If empty data is passed in, the stored data is
25 deleted.
26
28 These are the available options:
29
30 • -p, --path=STRING:
31
32 Path of the object for which the appData will be stored.
33
34 • -i, --appData=FILENAME or - (for stdin):
35
36 The data to be stored. Optional parameter. If omitted, stored data
37 is deleted.
38
40 This collection of options are common to all tss2 programs and provide
41 information that many users may expect.
42
43 • -h, --help [man|no-man]: Display the tools manpage. By default, it
44 attempts to invoke the manpager for the tool, however, on failure
45 will output a short tool summary. This is the same behavior if the
46 “man” option argument is specified, however if explicit “man” is re‐
47 quested, the tool will provide errors from man on stderr. If the
48 “no-man” option if specified, or the manpager fails, the short op‐
49 tions will be output to stdout.
50
51 To successfully use the manpages feature requires the manpages to be
52 installed or on MANPATH, See man(1) for more details.
53
54 • -v, --version: Display version information for this tool, supported
55 tctis and exit.
56
58 tss2_setappdata --path=HS/SRK/myRSACrypt --appData=appData.file
59
61 0 on success or 1 on failure.
62
64 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
65
67 See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
68
69
70
71tpm2-tools APRIL 2019 tss2_setappdata(1)