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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificateData(Long certificateId, String certificateSerialNumber, Long keyStoreId, KeyStoreScope keyStoreScope, X501DistinguishedName subject)Creates a newCertificateDatainstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LonggetCertificateId()Gets the ID of the certificate.StringgetCertificateSerialNumber()Gets the serial number of the certificate as a string.LonggetKeyStoreId()Gets the ID of the keystore the certificate belongs to.KeyStoreScopegetKeyStoreScope()Gets the scope of the keystore the certificate belongs to.X501DistinguishedNamegetSubject()Gets the X.501 distinguished name of the certificate.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
CertificateData
public CertificateData(Long certificateId, String certificateSerialNumber, Long keyStoreId, KeyStoreScope keyStoreScope, X501DistinguishedName subject)
Creates a newCertificateDatainstance.- 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.
-
-