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.


Constructor Index

 o NameRequirement()
Empty constructor - Serializable.
 o NameRequirement(Vector, Vector)
Create a NameRequirement object.

Method Index

 o 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.
 o equals(Object)
Override equals as PolicyId is going to be used as a key in HashTable.
 o getIdLevels()
Get the Vector of registration assurance levels recorded for this CA and module.
 o getRegLevels()
Get the Vector of registration assurance levels recorded for this CA and module.
 o hashCode()
Override hashCode as PolicyId is going to be used as a key in HashTable.

Constructors

 o NameRequirement
 public NameRequirement()
Empty constructor - Serializable.

 o 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)

Methods

 o 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
 o 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
 o 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
 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