Class EntityId
java.lang.Object
eu.europa.esig.dss.pki.jaxb.model.EntityId
Represents a deterministic identifier of a certificate entity object
-
Constructor Summary
ConstructorsConstructorDescriptionEntityId()Empty constructorEntityId(XmlEntityKey entityKey) Constructor to create object from JAXBXmlEntityKeyobject of the certificateDefault constructor to create aEntityIdbased on the provided issuer's DN and certificate's serial number -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets issuer distinguished nameGets the certificate's serial numberinthashCode()voidsetIssuerName(String issuerName) Sets issuer's distinguished namevoidsetSerialNumber(Long serialNumber) Sets the certificate's serial numbertoString()
-
Constructor Details
-
EntityId
public EntityId()Empty constructor -
EntityId
Default constructor to create aEntityIdbased on the provided issuer's DN and certificate's serial number -
EntityId
Constructor to create object from JAXBXmlEntityKeyobject of the certificate- Parameters:
entityKey-XmlEntityKey
-
-
Method Details
-
getIssuerName
Gets issuer distinguished name- Returns:
String
-
setIssuerName
Sets issuer's distinguished name- Parameters:
issuerName-String
-
getSerialNumber
Gets the certificate's serial number- Returns:
Long
-
setSerialNumber
Sets the certificate's serial number- Parameters:
serialNumber-Long
-
hashCode
public int hashCode() -
equals
-
toString
-