# Confidential Computing v1alpha1 API - Class ConfidentialComputing.ConfidentialComputingBase (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.ConfidentialComputing.ConfidentialComputingBase)
- [1.0.0-alpha05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/1.0.0-alpha05/Google.Cloud.ConfidentialComputing.V1Alpha1.ConfidentialComputing.ConfidentialComputingBase)

    [BindServiceMethod(typeof(ConfidentialComputing), "BindService")]
    public abstract class ConfidentialComputing.ConfidentialComputingBase

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

Base class for server-side implementations of ConfidentialComputing

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [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

## Methods

### CreateChallenge(CreateChallengeRequest, ServerCallContext)

    public virtual Task<Challenge> CreateChallenge(CreateChallengeRequest request, ServerCallContext context)

Creates a new Challenge in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.CreateChallengeRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.Challenge` | The response to send back to the client (wrapped by a task). |

### VerifyAttestation(VerifyAttestationRequest, ServerCallContext)

    public virtual Task<VerifyAttestationResponse> VerifyAttestation(VerifyAttestationRequest request, ServerCallContext context)

Verifies the provided attestation info, returning a signed OIDC token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationResponse` | The response to send back to the client (wrapped by a task). |