---
name: "tssgetcapability"
section: "1"
platform: "linux"
package: "tss2"
version: "1045-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/tssgetcapability"
---

# tssgetcapability(1)

Runs TPM2\_GetCapability

## NAME

getcapability - Runs TPM2\_GetCapability

## DESCRIPTION

**--version-string**=*v1045* is not a valid option

getcapability

Runs TPM2\_GetCapability

**-cap** capability

**-pr** property (defaults to 0)

**-pc** propertyCount (defaults to 64)

**-se\[0-2\]** session handle / attributes (default PWAP)

-

  01 continue 80 command audit

**-cap** values

TPM\_CAP\_ALGS                0 TPM\_CAP\_HANDLES             1 TPM\_CAP\_COMMANDS            2 TPM\_CAP\_PP\_COMMANDS         3 TPM\_CAP\_AUDIT\_COMMANDS      4 TPM\_CAP\_PCRS                5 TPM\_CAP\_TPM\_PROPERTIES      6 TPM\_CAP\_PCR\_PROPERTIES      7 TPM\_CAP\_ECC\_CURVES          8

**--version** is not a valid option

getcapability

Runs TPM2\_GetCapability

**-cap** capability

**-pr** property (defaults to 0)

**-pc** propertyCount (defaults to 64)

**-se\[0-2\]** session handle / attributes (default PWAP)

-

  01 continue 80 command audit

**-cap** values

TPM\_CAP\_ALGS                0 TPM\_CAP\_HANDLES             1 TPM\_CAP\_COMMANDS            2 TPM\_CAP\_PP\_COMMANDS         3 TPM\_CAP\_AUDIT\_COMMANDS      4 TPM\_CAP\_PCRS                5 TPM\_CAP\_TPM\_PROPERTIES      6 TPM\_CAP\_PCR\_PROPERTIES      7 TPM\_CAP\_ECC\_CURVES          8

## SEE ALSO

The full documentation for **getcapability** is maintained as a Texinfo manual.  If the **info** and **getcapability** programs are properly installed at your site, the command

-

  **info getcapability**

should give you access to the complete manual.
