Class AttestationResponse<T>

java.lang.Object
com.azure.core.http.rest.ResponseBase<Void,T>
com.azure.security.attestation.models.AttestationResponse<T>
All Implemented Interfaces:
com.azure.core.http.rest.Response<T>

public final class AttestationResponse<T> extends com.azure.core.http.rest.ResponseBase<Void,T>
The result of an attestation operation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AttestationResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders headers, T value, AttestationToken token)
    Creates a ResponseBase.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the token property: An RFC 7519 JSON Web Token, the body of which is an AttestationResult object.

    Methods inherited from class com.azure.core.http.rest.ResponseBase

    getDeserializedHeaders, getHeaders, getRequest, getStatusCode, getValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AttestationResponse

      public AttestationResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders headers, T value, AttestationToken token)
      Creates a ResponseBase.
      Parameters:
      request - The HTTP request which resulted in this response.
      statusCode - The status code of the HTTP response.
      headers - The headers of the HTTP response.
      value - The deserialized value of the HTTP response.
      token - The Attestation Token which was returned from the service.
  • Method Details

    • getToken

      public AttestationToken getToken()
      Get the token property: An RFC 7519 JSON Web Token, the body of which is an AttestationResult object.
      Returns:
      the token value.