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 Classes Modifier and Type Class Description static classCertificateExpirationEventPayload.CertificateExpirationDetails.KeyStoreScope
-
Constructor Summary
Constructors Constructor Description CertificateExpirationDetails(Long certificateId, String certificateSubject, Instant expirationDate, CertificateExpirationEventPayload.CertificateExpirationDetails.KeyStoreScope keyStoreScope, boolean renewed, boolean autoRenewalEnabled)Creates a newCertificateExpirationDetailsinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LonggetCertificateId()The (database) ID of the related certificate, managed by fc-certificate.StringgetCertificateSubject()The certificates subject.InstantgetExpirationDate()The certificates expiration Date.CertificateExpirationEventPayload.CertificateExpirationDetails.KeyStoreScopegetKeyStoreScope()The scope of the keystore the certificate belongs to.inthashCode()booleanisAutoRenewalEnabled()Whether auto-renewal is enabled for the certificate.booleanisRenewed()Whether the certificate has been renewed.StringtoString()
-
-
-
Constructor Detail
-
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 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.
-
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.
-
-