AttestationAdministrationClient.AddPolicyManagementCertificate 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.
Adds the specified new signing certificate to the set of policy management certificates.
public virtual Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.PolicyCertificatesModificationResult> AddPolicyManagementCertificate (System.Security.Cryptography.X509Certificates.X509Certificate2 newSigningCertificate, Azure.Security.Attestation.AttestationTokenSigningKey existingSigningKey, System.Threading.CancellationToken cancellationToken = default);
abstract member AddPolicyManagementCertificate : System.Security.Cryptography.X509Certificates.X509Certificate2 * Azure.Security.Attestation.AttestationTokenSigningKey * System.Threading.CancellationToken -> Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.PolicyCertificatesModificationResult>
override this.AddPolicyManagementCertificate : System.Security.Cryptography.X509Certificates.X509Certificate2 * Azure.Security.Attestation.AttestationTokenSigningKey * System.Threading.CancellationToken -> Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.PolicyCertificatesModificationResult>
Public Overridable Function AddPolicyManagementCertificate (newSigningCertificate As X509Certificate2, existingSigningKey As AttestationTokenSigningKey, Optional cancellationToken As CancellationToken = Nothing) As AttestationResponse(Of PolicyCertificatesModificationResult)
Parameters
- newSigningCertificate
- X509Certificate2
The new certificate to add.
- existingSigningKey
- AttestationTokenSigningKey
An existing key corresponding to the existing certificate.
- cancellationToken
- CancellationToken
Cancellation token used to cancel this operation.
Returns
An AttestationResponse<T> with the policy for the specified attestation type.
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