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

Constructor Index

 o CertificateEntity()
Empty constructr - Seriliazable.
 o CertificateEntity(ComPointAddress, long, String)
Create a CertificateEntity.

Method Index

 o 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.
 o getAddress()
Get the address of the CA.
 o getCADN()
Get the distinguished name of the user.
 o getDN()
Get the distinguished name of the user.
 o getSerialNo()
Get the serial numer of the CA.
 o setAddress(ComPointAddress)
Set the address of the CA.
 o setDN(String)
Set the distinguished name of the user the CA.
 o setSerialNo(long)
Set the serial numer of the CA.

Constructors

 o CertificateEntity
 public CertificateEntity()
Empty constructr - Seriliazable.

 o 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

Methods

 o 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
 o setSerialNo
 public void setSerialNo(long serialNo)
Set the serial numer of the CA.

Parameters:
serialNo - is the new serial number
 o 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
 o getAddress
 public ComPointAddress getAddress()
Get the address of the CA.

Returns:
the CompointAddress of the ca
 o getSerialNo
 public long getSerialNo()
Get the serial numer of the CA.

Returns:
the serial number
 o getDN
 public String getDN()
Get the distinguished name of the user.

Returns:
the distinguished name
 o getCADN
 public String getCADN()
Get the distinguished name of the user.

Returns:
the distinguished name of the CA
 o 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