% tpm2_certifycreation(1) tpm2-tools | General Commands Manual
tpm2_certifycreation(1) - Attest the association between a loaded public area and the provided hash of the creation data.
tpm2_certifycreation(1) - Attest the association between a loaded public area and the provided hash of the creation data. The creation data and the creation ticket is produced when creating the object. The object itself is created with either TPM2_CreatePrimary or TPM2_Create commands.
Context object pointing to the key used that signs the attestation.
Optional authorization value to use for the key specified by -C.
Context object pointing to the key that has to be certified.
The hash algorithm used to digest the creation data.
The signing scheme used to sign the attestation data.
File containing the digest of the creation data.
The ticket file to validate that the creation data was produced by the TPM.
File containing the signature of the attestation data for the certified key.
Output signature format selection.
The attestation data of the type TPM2_CREATION_INFO signed with signing key.
Optional, the policy qualifier data that the signer can choose to include in the signature. Can either be a path or hex string.
File path to record the hash of the command parameters. This is commonly termed as cpHash. NOTE: When this option is selected, The tool will not actually execute the command, it simply returns a cpHash, unless rphash is also required.
File path to record the hash of the response parameters. This is commonly termed as rpHash.
The session created using tpm2_startauthsession. This can be used to specify an auxiliary session for auditing and or encryption/decryption of the parameters.
context object format details the methods for specifying OBJECT.
authorization formatting details the methods for specifying AUTH.
algorithm specifiers details the options for specifying cryptographic algorithms ALGORITHM.
common options collection of common options that provide information many users may expect.
Certify creation data of a primary key.
tpm2_createprimary -C o -c prim.ctx --creation-data create.dat \ -d create.dig -t create.ticket tpm2_create -G rsa -u rsa.pub -r rsa.priv -C prim.ctx -c signing_key.ctx tpm2_certifycreation -C signing_key.ctx -c prim.ctx -d create.dig \ -t create.ticket -g sha256 -o sig.nature --attestation attestat.ion -f plain \ -s rsassa