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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionCertificateExpirationDetails(Long certificateId, String certificateSubject, Instant expirationDate, CertificateExpirationEventPayload.CertificateExpirationDetails.KeyStoreScope keyStoreScope, boolean renewed, boolean autoRenewalEnabled) Creates a newCertificateExpirationDetailsinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe (database) ID of the related certificate, managed by fc-certificate.The certificates subject.The certificates expiration Date.The scope of the keystore the certificate belongs to.inthashCode()booleanWhether auto-renewal is enabled for the certificate.booleanWhether the certificate has been renewed.toString()
-
Constructor Details
-
CertificateExpirationDetails
public CertificateExpirationDetails(Long certificateId, String certificateSubject, Instant expirationDate, CertificateExpirationEventPayload.CertificateExpirationDetails.KeyStoreScope keyStoreScope, boolean renewed, boolean autoRenewalEnabled) Creates a newCertificateExpirationDetailsinstance.- 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
The (database) ID of the related certificate, managed by fc-certificate. -
getCertificateSubject
The certificates subject. -
getExpirationDate
The certificates expiration Date. -
getKeyStoreScope
public CertificateExpirationEventPayload.CertificateExpirationDetails.KeyStoreScope 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
-
hashCode
-
toString
-