Class CertificateExpirationEventPayload.CertificateExpirationDetails

java.lang.Object
de.xima.fc.notification.mgmt.event.payloads.CertificateExpirationEventPayload.CertificateExpirationDetails
Enclosing class:
CertificateExpirationEventPayload

public static final class CertificateExpirationEventPayload.CertificateExpirationDetails extends Object
Necessary Details at certificate level.
  • Constructor Details

    • CertificateExpirationDetails

      public CertificateExpirationDetails(Long certificateId, String certificateSubject, Instant expirationDate, CertificateExpirationEventPayload.CertificateExpirationDetails.KeyStoreScope keyStoreScope, boolean renewed, boolean autoRenewalEnabled)
      Creates a new CertificateExpirationDetails instance.
      Parameters:
      certificateId - The (database) ID of the related certificate, managed by fc-certificate.
      certificateSubject - The certificates subject.
      expirationDate - The certificates expiration Date.
      keyStoreScope - The scope of the keystore the certificate belongs to.
      renewed - Whether the certificate has been renewed.
      autoRenewalEnabled - Whether auto-renewal is enabled for the certificate.
  • Method Details

    • getCertificateId

      public Long getCertificateId()
      The (database) ID of the related certificate, managed by fc-certificate.
    • getCertificateSubject

      public String getCertificateSubject()
      The certificates subject.
    • getExpirationDate

      public Instant getExpirationDate()
      The certificates expiration Date.
    • getKeyStoreScope

      The scope of the keystore the certificate belongs to.
    • isRenewed

      public boolean isRenewed()
      Whether the certificate has been renewed.
    • isAutoRenewalEnabled

      public boolean isAutoRenewalEnabled()
      Whether auto-renewal is enabled for the certificate.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object