AttestationResponse<T> Class

Type Parameters

T

public final class AttestationResponse
extends ResponseBase<Void,T>

The result of an attestation operation.

Constructor Summary

Constructor Description
AttestationResponse(HttpRequest request, int statusCode, HttpHeaders headers, T value, AttestationToken token)

Creates a ResponseBase<H,T>.

Method Summary

Modifier and Type Method and Description
AttestationToken getToken()

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

Methods inherited from ResponseBase

Methods inherited from java.lang.Object

Constructor Details

AttestationResponse

public AttestationResponse(HttpRequest request, int statusCode, HttpHeaders headers, T value, AttestationToken token)

Creates a ResponseBase<H,T>.

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.

Applies to