Class PolicyManagementCertificateOptions

java.lang.Object
com.azure.security.attestation.models.PolicyManagementCertificateOptions

public final class PolicyManagementCertificateOptions extends Object

AttestationPolicySetOptions represent the parameters sent to the AttestationAdministrationClient.addPolicyManagementCertificate(PolicyManagementCertificateOptions) or AttestationAdministrationClient.deletePolicyManagementCertificate(PolicyManagementCertificateOptions) API.

Each AttestationPolicySetOptions object expresses the options to verify the response from the attestation service.

  • Constructor Details

    • PolicyManagementCertificateOptions

      public PolicyManagementCertificateOptions(X509Certificate certificate, AttestationSigningKey signingKey)
      Parameters:
      certificate - Specifies the X.509 certificate to add or remove to the set of policy management certificates.
      signingKey - Specifies the signing key which will be used to sign the request for the attestation service.
  • Method Details

    • setValidationOptions

      public PolicyManagementCertificateOptions setValidationOptions(AttestationTokenValidationOptions validationOptions)
      Sets the options used to validate attestation tokens returned from the service.
      Parameters:
      validationOptions - Token Validation options to be used to enhance the validations already performed by the SDK.
      Returns:
      this AttestationPolicySetOptions object.
    • getValidationOptions

      public AttestationTokenValidationOptions getValidationOptions()
      Returns the options used for token validation.
      Returns:
      attestation token validation options.
    • getCertificate

      public X509Certificate getCertificate()
      Gets the attestation policy which will be used to generate a policy set request.
      Returns:
      Attestation Policy Token associated with this request.
    • getAttestationSigner

      public AttestationSigningKey getAttestationSigner()
      Gets the attestation signer which will be used to sign a policy set request.
      Returns:
      Attestation Signer associated with this request.