Udostępnij za pośrednictwem


AttestationAdministrationClient.GetPolicyManagementCertificates 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 Azure.Security.Attestation.AttestationResponse<System.Collections.Generic.IReadOnlyList<System.Security.Cryptography.X509Certificates.X509Certificate2>> GetPolicyManagementCertificates (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPolicyManagementCertificates : System.Threading.CancellationToken -> Azure.Security.Attestation.AttestationResponse<System.Collections.Generic.IReadOnlyList<System.Security.Cryptography.X509Certificates.X509Certificate2>>
override this.GetPolicyManagementCertificates : System.Threading.CancellationToken -> Azure.Security.Attestation.AttestationResponse<System.Collections.Generic.IReadOnlyList<System.Security.Cryptography.X509Certificates.X509Certificate2>>
Public Overridable Function GetPolicyManagementCertificates (Optional cancellationToken As CancellationToken = Nothing) As 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