Share via


AttestationPolicyResult Class

The result of a set_policy or reset_policy API call.

The AttestationPolicyResult class is returned as the body of an attestation token from the attestation service. It can be used to ensure that the attestation service received the policy object sent from the client without alteration.

Constructor

AttestationPolicyResult(policy_resolution: PolicyModification, policy_signer: AttestationSigner, policy_token_hash: str)

Parameters

Name Description
policy_resolution
Required

The result of the policy set or reset call.

policy_signer
Required

If the call to set_policy or reset_policy had a signing_certificate parameter, this will be the certificate which was specified in this parameter.

policy_token_hash
Required
str

The hash of the complete JSON Web Signature presented to the set_policy or reset_policy API.