Class CertificateExpirationEventPayload.CertificateExpirationDetails

  • Enclosing class:
    CertificateExpirationEventPayload

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

      • 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 Detail

      • 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.
      • isRenewed

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object