attestation Package

Packages

aio

Classes

AttestationAdministrationClient

Provides administrative APIs for managing an instance of the Attestation Service.

The AttestationAdministrationClient object implements the policy management and policy certificate management functions.

If the signing_key and signing_certificate parameters are provided, they will be applied to the following APIs:

Note

The signing_key and signing_certificate parameters are a pair. If one

is present, the other must also be provided. In addition, the public key

in the signing_key and the public key in the signing_certificate must

match to ensure that the signing_certificate can be used to validate an

object signed by signing_key.

Tip

The validate_token, validation_callback, validate_signature,

validate_expiration, validate_not_before_time, validate_issuer, and

issuer keyword arguments are default values applied to each API call within

the AttestationAdministrationClient class. These values can be

overridden on individual API calls as needed.

For additional client creation configuration options, please see Python Request Options.

AttestationClient

Provides access to the Attestation family of APIs for trusted environment attestation.

Tip

The validate_token, validation_callback, validate_signature,

validate_expiration, validate_not_before_time, validate_issuer, and

issuer keyword arguments are default values applied to each API call within

the AttestationClient class. These values can be

overridden on individual API calls as needed.

For additional client creation configuration options, please see Python Request Options.

AttestationPolicyCertificateResult

The result of a policy certificate modification.

AttestationPolicyResult

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.

AttestationPolicyToken

An AttestationPolicyToken is an AttestationToken object specialized for use in attestation policy set_policy operations. It expresses the JSON Web Signature object sent to the attestation service to set the token.

This token can thus be used to validate the hash returned by the set_policy API.

AttestationResult

Represents the claims returned from the attestation service as a result of a call to attest_sgx_enclave, or attest_open_enclave.

AttestationSigner

Represents a signing certificate returned by the Attestation Service.

AttestationToken

Represents a token returned from the attestation service.

If the signing_key and signing_certificate properties are not specified, the token created is unsecured.

AttestationTokenValidationException

Thrown when an attestation token validation fails.

Enums

AttestationType

An enumeration.

CertificateModification

The result of the operation

PolicyModification

The result of the operation