Condividi tramite


AttestationClient.AttestSgxEnclaveAsync Method

Definition

Attest an Intel SGX enclave.

public virtual System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>> AttestSgxEnclaveAsync (Azure.Security.Attestation.AttestationRequest request, System.Threading.CancellationToken cancellationToken = default);
abstract member AttestSgxEnclaveAsync : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>>
override this.AttestSgxEnclaveAsync : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>>
Public Overridable Function AttestSgxEnclaveAsync (request As AttestationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AttestationResponse(Of AttestationResult))

Parameters

request
AttestationRequest

Aggregate type containing the information needed to perform an attestation operation.

cancellationToken
CancellationToken

Cancellation token used to cancel the request.

Returns

An AttestationResponse<T> which contains the validated claims for the supplied request.

Remarks

The Evidence must be an Intel SGX Quote. https://software.intel.com/content/www/us/en/develop/articles/code-sample-intel-software-guard-extensions-remote-attestation-end-to-end-example.html for more information.

Applies to