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

NAME

6       tss2_gettpmblobs(1) -
7

SYNOPSIS

9       tss2_gettpmblobs [OPTIONS]
10

DESCRIPTION

12       tss2_gettpmblobs(1) - This command returns the public and private blobs
13       of an object, such that  they  could  be  loaded  by  a  low-level  API
14       (e.g. ESAPI).   It  also returns the policy associated with these blobs
15       in JSON format.
16

OPTIONS

18       These are the available options:
19
20       · -f, --force:
21
22         Force overwriting the output file.
23
24       · -p, --path STRING:
25
26         The path of the object for which the blobs will be returned.
27
28       · -u, --tpm2bPublic FILENAME or - (for stdout):
29
30         The returned public area of the object as a marshalled  TPM2B_PUBLIC.
31         Optional parameter.
32
33       · -r, --tpm2bPrivate FILENAME or - (for stdout):
34
35         The  returned  private  area of the object as a marshalled TPM2B_PRI‐
36         VATE.  Optional parameter.
37
38       · -l, --policy FILENAME or - (for stdout):
39
40         The returned policy associated with the object, encoded in JSON.  Op‐
41         tional parameter.
42

COMMON OPTIONS

44       This  collection of options are common to all tss2 programs and provide
45       information that many users may expect.
46
47       · -h, --help [man|no-man]: Display the tools manpage.  By  default,  it
48         attempts  to  invoke  the  manpager for the tool, however, on failure
49         will output a short tool summary.  This is the same behavior  if  the
50         “man”  option argument is specified, however if explicit “man” is re‐
51         quested, the tool will provide errors from man  on  stderr.   If  the
52         “no-man”  option  if  specified, or the manpager fails, the short op‐
53         tions will be output to stdout.
54
55         To successfully use the manpages feature requires the manpages to  be
56         installed or on MANPATH, See man(1) for more details.
57
58       · -v,  --version:  Display version information for this tool, supported
59         tctis and exit.
60

EXAMPLE

62              tss2_gettpmblobs --path HS/SRK/myRSACrypt --tpm2bPublic tpm2bPublic.file --tpm2bPrivate tpm2bPrivate.file --policy policy.file
63

RETURNS

65       0 on success or 1 on failure.
66

BUGS

68       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
69

HELP

71       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
72
73
74
75tpm2-tools                        APRIL 2019               tss2_gettpmblobs(1)
Impressum