---
name: "Tspi_TPM_Quote"
section: "3"
platform: "linux"
package: "libtspi-dev"
version: "0.3.15-0.4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tspi_TPM_Quote"
---

# Tspi\_TPM\_Quote(3)

retreive a signed set of PCR values.

## NAME

Tspi\_TPM\_Quote - retreive a signed set of PCR values.

## SYNOPSIS

**#include \<tss/platform.h\>** **#include \<tss/tcpa\_defines.h\>** **#include \<tss/tcpa\_typedef.h\>** **#include \<tss/tcpa\_struct.h\>** **#include \<tss/tss\_typedef.h\>** **#include \<tss/tss\_structs.h\>** **#include \<tss/tspi.h\>** **TSS\_RESULT Tspi\_TPM\_Quote(TSS\_HTPM**  *hTPM***,          TSS\_HKEY**        *hIdentKey***,**                           **TSS\_HPCRS** *hPcrComposite***, TSS\_VALIDATION\*** *pValidationData***);**

## DESCRIPTION

**Tspi\_TPM\_Quote** destroys a context by passing in the handle to that context.

## PARAMETERS

### hTPM

Handle of the TPM object.

### hIdentKey

Handle of the signature key object.

### hPcrComposite

Handle of the PCR composite object

### pValidationData

Validation data structure \[IN\] Provide externalData information required to compute the signature. \[OUT\] On successful completion of the command, the structure provides a buffer containing the validation data and a buffer containing the data the validation data was computed form.

## RETURN CODES

**Tspi\_TPM\_Quote** returns TSS\_SUCCESS on success, otherwise one of the following values are returned: TSS\_E\_INVALID\_HANDLE - *hTPM*, *hIdentKey* or *hPcrComposite* is not a valid handle. TSS\_E\_BAD\_PARAMETER TSS\_E\_INTERNAL\_ERROR - An error occurred internal to the TSS.

## CONFORMING TO

**Tspi\_TPM\_Quote** conforms to the Trusted Computing Group Software Specification version 1.1 Golden

## SEE ALSO

**(none)**.
