All Packages Class Hierarchy This Package Previous Next Index
Class semper.certificate.CertificateEntity
java.lang.Object
|
+----semper.util.entity.Entity
|
+----semper.certificate.CertificateEntity
- public class CertificateEntity
- extends Entity
-
CertificateEntity()
- Empty constructr - Seriliazable.
-
CertificateEntity(ComPointAddress, long, String)
- Create a CertificateEntity.
-
clone()
- Implementing cloneable interface
Redefine clone so that anyone can make clones of us; this is
useful in accessor methods of other classes that have an object
of this class as an attribute.
-
getAddress()
- Get the address of the CA.
-
getCADN()
- Get the distinguished name of the user.
-
getDN()
- Get the distinguished name of the user.
-
getSerialNo()
- Get the serial numer of the CA.
-
setAddress(ComPointAddress)
- Set the address of the CA.
-
setDN(String)
- Set the distinguished name of the user the CA.
-
setSerialNo(long)
- Set the serial numer of the CA.
CertificateEntity
public CertificateEntity()
- Empty constructr - Seriliazable.
CertificateEntity
public CertificateEntity(ComPointAddress caAddress,
long serialNo,
String dn)
- Create a CertificateEntity.
- Parameters:
- caAddress - is the ComPointAddress of the CA.
- serialNo - is the serial number which was used during the particular registration
- dn - is the distinguished name assigned to the user in this registration
setAddress
public void setAddress(ComPointAddress caAddress)
- Set the address of the CA. The host name should be the distinguished
name of the CA, and the public name is updated accordingly.
- Parameters:
- caAddress - is the ComPointAddress of the CA
setSerialNo
public void setSerialNo(long serialNo)
- Set the serial numer of the CA.
- Parameters:
- serialNo - is the new serial number
setDN
public void setDN(String dn)
- Set the distinguished name of the user the CA. The host name should be the distinguished
name of the CA.
- Parameters:
- dn - is the new distinguished name
getAddress
public ComPointAddress getAddress()
- Get the address of the CA.
- Returns:
- the CompointAddress of the ca
getSerialNo
public long getSerialNo()
- Get the serial numer of the CA.
- Returns:
- the serial number
getDN
public String getDN()
- Get the distinguished name of the user.
- Returns:
- the distinguished name
getCADN
public String getCADN()
- Get the distinguished name of the user.
- Returns:
- the distinguished name of the CA
clone
public synchronized Object clone()
- Implementing cloneable interface
Redefine clone so that anyone can make clones of us; this is
useful in accessor methods of other classes that have an object
of this class as an attribute.
- Overrides:
- clone in class Entity
All Packages Class Hierarchy This Package Previous Next Index