public final class AttestationClient extends Object
Modifier and Type | Method and Description |
---|---|
AttestationResponse |
attestOpenEnclave(AttestOpenEnclaveRequest request)
Processes an OpenEnclave report , producing an artifact.
|
com.azure.core.http.rest.Response<AttestationResponse> |
attestOpenEnclaveWithResponse(AttestOpenEnclaveRequest request,
com.azure.core.util.Context context)
Processes an OpenEnclave report , producing an artifact.
|
AttestationResponse |
attestSgxEnclave(AttestSgxEnclaveRequest request)
Processes an SGX enclave quote, producing an artifact.
|
com.azure.core.http.rest.Response<AttestationResponse> |
attestSgxEnclaveWithResponse(AttestSgxEnclaveRequest request,
com.azure.core.util.Context context)
Processes an SGX enclave quote, producing an artifact.
|
TpmAttestationResponse |
attestTpm(TpmAttestationRequest request)
Processes attestation evidence from a VBS enclave, producing an attestation result.
|
com.azure.core.http.rest.Response<TpmAttestationResponse> |
attestTpmWithResponse(TpmAttestationRequest request,
com.azure.core.util.Context context)
Processes attestation evidence from a VBS enclave, producing an attestation result.
|
public AttestationResponse attestOpenEnclave(AttestOpenEnclaveRequest request)
request
- Attestation request for Intel SGX enclaves.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<AttestationResponse> attestOpenEnclaveWithResponse(AttestOpenEnclaveRequest request, com.azure.core.util.Context context)
request
- Attestation request for Intel SGX enclaves.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public AttestationResponse attestSgxEnclave(AttestSgxEnclaveRequest request)
request
- Attestation request for Intel SGX enclaves.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<AttestationResponse> attestSgxEnclaveWithResponse(AttestSgxEnclaveRequest request, com.azure.core.util.Context context)
request
- Attestation request for Intel SGX enclaves.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public TpmAttestationResponse attestTpm(TpmAttestationRequest request)
request
- Attestation request for Trusted Platform Module (TPM) attestation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<TpmAttestationResponse> attestTpmWithResponse(TpmAttestationRequest request, com.azure.core.util.Context context)
request
- Attestation request for Trusted Platform Module (TPM) attestation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.