esx attestation report: tpm2 result

The tpm2_result structure contains the result of an attestation report request using the TPM 2.0 protocol.

Representation:

{
    "documents"[
        {
            "reporting_jwt""string",
            "kms_auth_jwt""string",
            "type""KMS_AUTH_JWT"
        },
        {
            "reporting_jwt""string",
            "kms_auth_jwt""string",
            "type""KMS_AUTH_JWT"
        }
    ],
    "attested"true,
    "contexts"[
        "YmluYXJ5",
        "YmluYXJ5"
    ]
}

Attributes:

Name Type Description
Required
contexts binary[] A set of contexts that must be processed by the client.

attested boolean Indicates if the requester has been successfully attested.

When true, all requested documents are available.

documents document[] The documents that were requested.

This list is only populated when esx.attestation.report.attest_result.attested reports true.

documents[].type string The type of attestation report document.

Defines valid attestation report document types. Value is one of:
KMS_AUTH_JWT: A JSON Web Token for use in KMS authentication.
REPORTING_JWT: A JSON Web Token for use in reporting attestation claims. This constant was added in vSphere API 7.0.1.0.

Optional
documents[].kms_auth_jwt string A JSON Web Token for use in KMS authentication.

Optional. It is only relevant when type has value KMS_AUTH_JWT. This field is optional and it is only relevant when the value of type is KMS_AUTH_JWT.

documents[].reporting_jwt string A JSON Web Token for use in reporting purposes only. A reporting token is never used for authentication or authorization. This attribute was added in vSphere API 7.0.1.0.

Optional. It is only relevant when type has value REPORTING_JWT. This field is optional and it is only relevant when the value of type is REPORTING_JWT.