Class 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:
    Serialized Form
    • Constructor Detail

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object