Dela via


AttestationData Class

Definition

AttestationData represents a BinaryData object passed as an input to the Attestation Service.

AttestationData comes in two forms: Binary and JSON. To distinguish between the two, when an AttestationData object is created, the caller provides an indication that the input binary data will be treated as either JSON or Binary.

The AttestationData is reflected in the generated AttestationResult in two possible ways. If the AttestationData is Binary, then the AttestationData is reflected in the EnclaveHeldData claim. If the AttestationData is JSON, then the AttestationData is expressed as JSON in the RuntimeClaims or InittimeClaims claim.

public class AttestationData
type AttestationData = class
Public Class AttestationData
Inheritance
AttestationData

Constructors

AttestationData(BinaryData, Boolean)

Initializes a new instance of the AttestationData class.

Properties

BinaryData

BinaryData to be sent to the Attestation Service.

DataIsJson

True if the BinaryData should be treated as JSON.

Applies to