File: ctxobj.md

package info (click to toggle)
tpm2-tools 5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,988 kB
  • sloc: ansic: 45,737; sh: 14,915; xml: 8,342; makefile: 610; python: 51
file content (15 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Context Object Format

The type of a context object, whether it is a handle or file name, is
determined according to the following logic *in-order*:

  * If the argument is a file path, then the file is loaded as a restored TPM transient object.

  * If the argument is a *prefix* match on one of:
    * owner: the owner hierarchy
    * platform: the platform hierarchy
    * endorsement: the endorsement hierarchy
    * lockout: the lockout control persistent object

  * If the argument argument can be loaded as a number it will be treat as a handle,
    e.g. 0x81010013 and used directly.