Condividi tramite


AttestationAdministrationClient.GetPolicyManagementCertificatesAsync Method

Definition

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.

public virtual System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<System.Collections.Generic.IReadOnlyList<System.Security.Cryptography.X509Certificates.X509Certificate2>>> GetPolicyManagementCertificatesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPolicyManagementCertificatesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<System.Collections.Generic.IReadOnlyList<System.Security.Cryptography.X509Certificates.X509Certificate2>>>
override this.GetPolicyManagementCertificatesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<System.Collections.Generic.IReadOnlyList<System.Security.Cryptography.X509Certificates.X509Certificate2>>>
Public Overridable Function GetPolicyManagementCertificatesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of AttestationResponse(Of IReadOnlyList(Of X509Certificate2)))

Parameters

cancellationToken
CancellationToken

Cancellation token used to cancel the operation.

Returns

A set of X509Certificate2 objects representing the set of root certificates for policy management.

Applies to