All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.certificate.CertificateId

java.lang.Object
   |
   +----semper.certificate.CertificateId

public class CertificateId
extends Object
implements Serializable

Constructor Index

 o CertificateId()
Empty constructor - Serialiazable.
 o CertificateId(Certificate)
Create a CertificateId corresponding to a given certificate.
 o CertificateId(Certificate, AccessName)
Create a CertificateId corresponding to a given certificate.

Method Index

 o equals(Object)
Override equals as PolicyId is going to be used as a key in HashTable.
 o getAccessName()
Get the access name of the certificate.
 o getCAName()
Get the name of the CA.
 o getModuleName()
Get the name of the module.
 o getSerialNo()
Get the serial numer of the CA.
 o getUserDN()
Get the name of the user.
 o hashCode()
Override hashCode as PolicyId is going to be used as a key in HashTable.

Constructors

 o CertificateId
 public CertificateId()
Empty constructor - Serialiazable.

 o CertificateId
 public CertificateId(Certificate cert)
Create a CertificateId corresponding to a given certificate.

Parameters:
cert - is the certificate for which a Certificateid should be created.
 o CertificateId
 public CertificateId(Certificate cert,
                      AccessName accessName)
Create a CertificateId corresponding to a given certificate.

Parameters:
cert - is the certificate for which a Certificateid should be created.
accessName - is the access name of the certificate for which a Certificateid should be created.

Methods

 o getUserDN
 public String getUserDN()
Get the name of the user.

Returns:
the name of the user
 o getSerialNo
 public long getSerialNo()
Get the serial numer of the CA.

Returns:
the serial number
 o getModuleName
 public String getModuleName()
Get the name of the module.

Returns:
the name of the module
 o getCAName
 public String getCAName()
Get the name of the CA.

Returns:
the name of the CA
 o getAccessName
 public AccessName getAccessName()
Get the access name of the certificate.

Returns:
the access name of the certificate
 o equals
 public boolean equals(Object obj)
Override equals as PolicyId is going to be used as a key in HashTable.

Parameters:
the - object to compare with
Returns:
true if the two objects are equal
Overrides:
equals in class Object
 o hashCode
 public int hashCode()
Override hashCode as PolicyId is going to be used as a key in HashTable.

Returns:
the hashCode
Overrides:
hashCode in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index