Class CertificateData

java.lang.Object
de.xima.fc.certificate.mgmt.event.CertificateData
All Implemented Interfaces:
Serializable

public final class CertificateData extends Object implements Serializable
Model class representing the base data of a certificate.
Since:
8.5.0
Author:
Norman Lorenz
See Also:
  • Constructor Details

    • CertificateData

      public CertificateData(Long certificateId, String certificateSerialNumber, Long keyStoreId, KeyStoreScope keyStoreScope, X501DistinguishedName subject)
      Creates a new CertificateData instance.
      Parameters:
      certificateId - Gets the ID of the certificate.
      certificateSerialNumber - Gets the serial number of the certificate as a string.
      keyStoreId - Gets the ID of the keystore the certificate belongs to.
      keyStoreScope - Gets the scope of the keystore the certificate belongs to.
      subject - Gets the X.501 distinguished name of the certificate.
  • Method Details

    • getCertificateId

      public Long getCertificateId()
      Gets the ID of the certificate.
    • getCertificateSerialNumber

      public String getCertificateSerialNumber()
      Gets the serial number of the certificate as a string.
    • getKeyStoreId

      public Long getKeyStoreId()
      Gets the ID of the keystore the certificate belongs to.
    • getKeyStoreScope

      public KeyStoreScope getKeyStoreScope()
      Gets the scope of the keystore the certificate belongs to.
    • getSubject

      public X501DistinguishedName getSubject()
      Gets the X.501 distinguished name of 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