tpm2_readpublic(8)

NAME
tpm2_readpublic - Access to the public area of a loaded object.

SYNOPSIS
tpm2_readpublic[ COMMON OPTIONS ] [ TCTI OPTIONS ] [ --object|--contextObject|--opu| ]

Access to the public area of a loaded object.

DESCRIPTION
tpm2_readpublic Access to the public area of a loaded object.

OPTIONS

-H ,--object
    The loaded object handle

-c ,--contextObject
    filename for object context

-o ,--opu
    The output file path, recording the public portion of the object @COMMON_OPTIONS_INCLUDE@ @TCTI_OPTIONS_INCLUDE@

ENVIRONMENT@TCTI_ENVIRONMENT_INCLUDE@

EXAMPLES
tpm2_readpublic

    tpm2_readpublic -H 0x81010002 --opu <pubKeyFileName>
    tpm2_readpublic -c obj.context --opu <pubKeyFileName>