All Packages Class Hierarchy This Package Previous Next Index
Class semper.certificate.NameRequirement
java.lang.Object
|
+----semper.certificate.NameRequirement
- public class NameRequirement
- extends Object
- implements Serializable, Cloneable
This class is used to express the requirements on the name which a party will
accept from the peer. Currently, this class contains requirements on the registraion
assurance and the identification level.
-
NameRequirement()
- Empty constructor - Serializable.
-
NameRequirement(Vector, Vector)
- Create a NameRequirement object.
-
clone()
-
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.
-
equals(Object)
- Override equals as PolicyId is going to be used as a key in HashTable.
-
getIdLevels()
- Get the Vector of registration assurance levels recorded for this CA and module.
-
getRegLevels()
- Get the Vector of registration assurance levels recorded for this CA and module.
-
hashCode()
- Override hashCode as PolicyId is going to be used as a key in HashTable.
NameRequirement
public NameRequirement()
- Empty constructor - Serializable.
NameRequirement
public NameRequirement(Vector regLevels,
Vector idLevels)
- Create a NameRequirement object.
- Parameters:
- regLevels - is a Vector of Strings describing the registration levels (the strings may be shown to the user)
- idLevels - is a Vector of Strings describing the identification levels (the strings may be shown to the user)
getRegLevels
public Vector getRegLevels()
- Get the Vector of registration assurance levels recorded for this CA and module.
- Returns:
- Vector of Strings describing the registration levels
getIdLevels
public Vector getIdLevels()
- Get the Vector of registration assurance levels recorded for this CA and module.
- Returns:
- Vector of Strings describing the registration levels
clone
public synchronized Object clone()
- 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.
- Returns:
- a clone of myself
- Overrides:
- clone in class Object
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