Class CertificateProperties

java.lang.Object
com.azure.security.keyvault.certificates.models.CertificateProperties

public class CertificateProperties extends Object
Represents base properties of a certificate.
  • Method Details

    • getId

      public String getId()
      Get the certificate identifier.
      Returns:
      the certificate identifier
    • getNotBefore

      public OffsetDateTime getNotBefore()
      Get the notBefore UTC time.
      Returns:
      the notBefore UTC time.
    • getRecoverableDays

      public Integer getRecoverableDays()
      Gets the number of days a key is retained before being deleted for a soft delete-enabled Key Vault.
      Returns:
      the recoverable days.
    • getExpiresOn

      public OffsetDateTime getExpiresOn()
      Get the Certificate Expiry time in UTC.
      Returns:
      the expires UTC time.
    • getCreatedOn

      public OffsetDateTime getCreatedOn()
      Get the the UTC time at which certificate was created.
      Returns:
      the created UTC time.
    • getUpdatedOn

      public OffsetDateTime getUpdatedOn()
      Get the UTC time at which certificate was last updated.
      Returns:
      the last updated UTC time.
    • getTags

      public Map<String,String> getTags()
      Get the tags associated with the certificate.
      Returns:
      the value of the tags.
    • getVaultUrl

      public String getVaultUrl()
      Get the URL for the Azure KeyVault service.
      Returns:
      the value of the URL for the Azure KeyVault service.
    • setTags

      public CertificateProperties setTags(Map<String,String> tags)
      Set the tags to be associated with the certificate.
      Parameters:
      tags - The tags to set
      Returns:
      the CertificateProperties object itself.
    • getVersion

      public String getVersion()
      Get the version of the certificate.
      Returns:
      the version of the certificate.
    • getName

      public String getName()
      Get the certificate name.
      Returns:
      the name of the certificate.
    • getRecoveryLevel

      public String getRecoveryLevel()
      Get the recovery level of the certificate.
      Returns:
      the recoveryLevel of the certificate.
    • isEnabled

      public Boolean isEnabled()
      Get the enabled status.
      Returns:
      the enabled status
    • setEnabled

      public CertificateProperties setEnabled(Boolean enabled)
      Set the enabled status.
      Parameters:
      enabled - The enabled status to set.
      Returns:
      the CertificateProperties object itself.
    • getX509Thumbprint

      public byte[] getX509Thumbprint()
      Get the X509 Thumbprint of the certificate.
      Returns:
      the x509Thumbprint.