Condividi tramite


AttestationAdministrationClient Class

Definition

Attestation Client for the Microsoft Azure Attestation service.

The Attestation client contains the implementation of the "Attest" family of MAA apis.

public class AttestationAdministrationClient
type AttestationAdministrationClient = class
Public Class AttestationAdministrationClient
Inheritance
AttestationAdministrationClient

Constructors

AttestationAdministrationClient()

Parameterless constructor for mocking.

AttestationAdministrationClient(Uri, TokenCredential, AttestationClientOptions)

Initializes a new instance of the AttestationClient class.

AttestationAdministrationClient(Uri, TokenCredential)

Initializes a new instance of the AttestationClient class.

Properties

Endpoint

Returns the URI used to communicate with the service.

Methods

AddPolicyManagementCertificate(X509Certificate2, AttestationTokenSigningKey, CancellationToken)

Adds the specified new signing certificate to the set of policy management certificates.

AddPolicyManagementCertificateAsync(X509Certificate2, AttestationTokenSigningKey, CancellationToken)

Adds the specified new signing certificate to the set of policy management certificates.

GetPolicy(AttestationType, CancellationToken)

Retrieves the attesttion policy for the specified AttestationType.

GetPolicyAsync(AttestationType, CancellationToken)

Retrieves the attesttion policy for the specified AttestationType.

GetPolicyManagementCertificates(CancellationToken)

Returns the set of policy management certificates currently configured for the attestation service instance.

If the service instance is running in AAD mode, this list will always be empty.

GetPolicyManagementCertificatesAsync(CancellationToken)

Returns the set of policy management certificates currently configured for the attestation service instance.

If the service instance is running in AAD mode, this list will always be empty.

RemovePolicyManagementCertificate(X509Certificate2, AttestationTokenSigningKey, CancellationToken)

Retrieves the attesttion policy for the specified AttestationType.

RemovePolicyManagementCertificateAsync(X509Certificate2, AttestationTokenSigningKey, CancellationToken)

Removes one of the attestation policy management certificates.

ResetPolicy(AttestationType, AttestationTokenSigningKey, CancellationToken)

Resets the policy for the specified AttestationType to the default value.

ResetPolicyAsync(AttestationType, AttestationTokenSigningKey, CancellationToken)

Resets the policy for the specified AttestationType to the default value.

SetPolicy(AttestationType, String, AttestationTokenSigningKey, CancellationToken)

Sets the attesttion policy for the specified AttestationType.

SetPolicyAsync(AttestationType, String, AttestationTokenSigningKey, CancellationToken)

Sets the attesttion policy for the specified AttestationType.

Applies to