1tss2_policyexport(1)        General Commands Manual       tss2_policyexport(1)
2
3
4

NAME

6       tss2_policyexport(1) -
7

SYNOPSIS

9       tss2_policyexport [OPTIONS]
10

DESCRIPTION

12       tss2_policyexport(1) - This commands exports a policy associated with a
13       key in JSON encoding.
14

OPTIONS

16       These are the available options:
17
18       · -f, --force:
19
20         Force overwriting the output file.
21
22       · -o, --jsonPolicy FILENAME or - (for stdout):
23
24         Returns the JSON-encoded policy.
25
26       · -p, --path STRING:
27
28         The path of the key.
29

COMMON OPTIONS

31       This collection of options are common to all tss2 programs and  provide
32       information that many users may expect.
33
34       · -h,  --help  [man|no-man]: Display the tools manpage.  By default, it
35         attempts to invoke the manpager for the  tool,  however,  on  failure
36         will  output  a short tool summary.  This is the same behavior if the
37         “man” option argument is specified, however if explicit “man” is  re‐
38         quested,  the  tool  will  provide errors from man on stderr.  If the
39         “no-man” option if specified, or the manpager fails,  the  short  op‐
40         tions will be output to stdout.
41
42         To  successfully use the manpages feature requires the manpages to be
43         installed or on MANPATH, See man(1) for more details.
44
45       · -v, --version: Display version information for this  tool,  supported
46         tctis and exit.
47

EXAMPLE

49              tss2_exportpolicy --path HS/SRK/myRSASign --jsonPolicy jsonPolicy.json
50

RETURNS

52       0 on success or 1 on failure.
53

BUGS

55       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
56

HELP

58       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
59
60
61
62tpm2-tools                        APRIL 2019              tss2_policyexport(1)
Impressum