AttestationClient.AttestSgxEnclave(AttestationRequest, CancellationToken) Method

Definition

Attest an Intel SGX enclave.

public virtual Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult> AttestSgxEnclave (Azure.Security.Attestation.AttestationRequest request, System.Threading.CancellationToken cancellationToken = default);
abstract member AttestSgxEnclave : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>
override this.AttestSgxEnclave : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>
Public Overridable Function AttestSgxEnclave (request As AttestationRequest, Optional cancellationToken As CancellationToken = Nothing) As 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

AttestationResponse<AttestationResult>

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