Condividi tramite


AttestationClient.AttestOpenEnclaveAsync Method

Definition

Attest an Open Enclave enclave.

public virtual System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>> AttestOpenEnclaveAsync (Azure.Security.Attestation.AttestationRequest request, System.Threading.CancellationToken cancellationToken = default);
abstract member AttestOpenEnclaveAsync : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>>
override this.AttestOpenEnclaveAsync : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>>
Public Overridable Function AttestOpenEnclaveAsync (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 OpenEnclave Report or OpenEnclave Evidence.

Applies to