Interface PolicyCertificatesModificationResult
public interface PolicyCertificatesModificationResult
Respects the result of a call to
AttestationAdministrationAsyncClient.addPolicyManagementCertificate(PolicyManagementCertificateOptions) or
AttestationAdministrationAsyncClient.deletePolicyManagementCertificate(PolicyManagementCertificateOptions).
It contains the state of the certificate identified by getCertificateThumbprint() -
whether the Certificate Modification API resulted in the certificate being removed or not.
If the certificate was removed, the state will be CertificateModification.IS_ABSENT, if it is
present after the API call, the state will be CertificateModification.IS_PRESENT.-
Method Summary
Modifier and TypeMethodDescriptionReturns theCertificateModificationproperty: The result of the operation.Returns the certificateThumbprint for the certificate which was modified.
-
Method Details
-
getCertificateThumbprint
String getCertificateThumbprint()Returns the certificateThumbprint for the certificate which was modified. The "thumbprint" of a certificate is the upper case hex encoded SHA1 Hash of the ASN.1 DER encoded binary representation certificate.- Returns:
- the certificateThumbprint value.
-
getCertificateResolution
CertificateModification getCertificateResolution()Returns theCertificateModificationproperty: The result of the operation.- Returns:
- the certificateResolution value.
-