PolicyManagementCertificateOptions Class
- java.
lang. Object - com.
azure. security. attestation. models. PolicyManagementCertificateOptions
- com.
public final class PolicyManagementCertificateOptions
AttestationPolicySetOptions represent the parameters sent to the addPolicyManagementCertificate(PolicyManagementCertificateOptions options) or deletePolicyManagementCertificate(PolicyManagementCertificateOptions options) API.
Each AttestationPolicySetOptions object expresses the options to verify the response from the attestation service.
Constructor Summary
Constructor | Description |
---|---|
PolicyManagementCertificateOptions(X509Certificate certificate, AttestationSigningKey signingKey) |
Creates a new PolicyManagementCertificateOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Attestation |
getAttestationSigner()
Gets the attestation signer which will be used to sign a policy set request. |
X509Certificate |
getCertificate()
Gets the attestation policy which will be used to generate a policy set request. |
Attestation |
getValidationOptions()
Returns the options used for token validation. |
Policy |
setValidationOptions(AttestationTokenValidationOptions validationOptions)
Sets the options used to validate attestation tokens returned from the service. |
Methods inherited from java.lang.Object
Constructor Details
PolicyManagementCertificateOptions
public PolicyManagementCertificateOptions(X509Certificate certificate, AttestationSigningKey signingKey)
Creates a new PolicyManagementCertificateOptions.
Parameters:
Method Details
getAttestationSigner
public AttestationSigningKey getAttestationSigner()
Gets the attestation signer which will be used to sign a policy set request.
Returns:
getCertificate
public X509Certificate getCertificate()
Gets the attestation policy which will be used to generate a policy set request.
Returns:
getValidationOptions
public AttestationTokenValidationOptions getValidationOptions()
Returns the options used for token validation.
Returns:
setValidationOptions
public PolicyManagementCertificateOptions setValidationOptions(AttestationTokenValidationOptions validationOptions)
Sets the options used to validate attestation tokens returned from the service.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for