# Confidential Computing v1alpha1 API - Class TpmAttestation (1.0.0-alpha06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-alpha06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation)
- [1.0.0-alpha05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/1.0.0-alpha05/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation)

    public sealed class TpmAttestation : IMessage<TpmAttestation>, IEquatable<TpmAttestation>, IDeepCloneable<TpmAttestation>, IBufferMessage, IMessage

Reference documentation and code samples for the Confidential Computing v1alpha1 API class TpmAttestation.

TPM2 data containing everything necessary to validate any platform state
measured into the TPM.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TpmAttestation

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TpmAttestation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TpmAttestation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TpmAttestation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ConfidentialComputing.V1Alpha1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1)

## Assembly

Google.Cloud.ConfidentialComputing.V1Alpha1.dll

## Constructors

### TpmAttestation()

    public TpmAttestation()

### TpmAttestation(TpmAttestation)

    public TpmAttestation(TpmAttestation other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation` |

## Properties

### AkCert

    public ByteString AkCert { get; set; }

DER-encoded X.509 certificate of the Attestation Key (otherwise known as
an AK or a TPM restricted signing key) used to generate the quotes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### CanonicalEventLog

    public ByteString CanonicalEventLog { get; set; }

An Event Log containing additional events measured into the TPM that are
not already present in the tcg_event_log. Formatted as described in the
"Canonical Event Log Format" TCG Specification.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### CertChain

    public RepeatedField<ByteString> CertChain { get; }

List of DER-encoded X.509 certificates which, together with the ak_cert,
chain back to a trusted Root Certificate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### Quotes

    public RepeatedField<TpmAttestation.Types.Quote> Quotes { get; }

TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation.Types.Quote` |   |

### TcgEventLog

    public ByteString TcgEventLog { get; set; }

The binary TCG Event Log containing events measured into the TPM by the
platform firmware and operating system. Formatted as described in the
"TCG PC Client Platform Firmware Profile Specification".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |