AttestationAdministrationClient.GetPolicyManagementCertificatesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET