[go: up one dir, main page]

File: ctxobj.md

package info (click to toggle)
tpm2-tools 5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,396 kB
  • sloc: ansic: 35,984; sh: 12,809; xml: 8,089; makefile: 569
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.