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
-
CertificateId()
- Empty constructor - Serialiazable.
-
CertificateId(Certificate)
- Create a CertificateId corresponding to a given certificate.
-
CertificateId(Certificate, AccessName)
- Create a CertificateId corresponding to a given certificate.
-
equals(Object)
- Override equals as PolicyId is going to be used as a key in HashTable.
-
getAccessName()
- Get the access name of the certificate.
-
getCAName()
- Get the name of the CA.
-
getModuleName()
- Get the name of the module.
-
getSerialNo()
- Get the serial numer of the CA.
-
getUserDN()
- Get the name of the user.
-
hashCode()
- Override hashCode as PolicyId is going to be used as a key in HashTable.
CertificateId
public CertificateId()
- Empty constructor - Serialiazable.
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.
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.
getUserDN
public String getUserDN()
- Get the name of the user.
- Returns:
- the name of the user
getSerialNo
public long getSerialNo()
- Get the serial numer of the CA.
- Returns:
- the serial number
getModuleName
public String getModuleName()
- Get the name of the module.
- Returns:
- the name of the module
getCAName
public String getCAName()
- Get the name of the CA.
- Returns:
- the name of the CA
getAccessName
public AccessName getAccessName()
- Get the access name of the certificate.
- Returns:
- the access name of the certificate
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
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