All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.certificate.ModuleInformation

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

public class ModuleInformation
extends Object

Constructor Index

 o ModuleInformation()
Empty constructor.

Method Index

 o add(String, String, RCModuleInterface)
Adds a module to the list of initialised modules.
 o get(String, String)
Returning the information for a given CA and given module.
 o remove(String, String)
Removing the module in case it should no longer be considered initialised.

Constructors

 o ModuleInformation
 public ModuleInformation()
Empty constructor.

Methods

 o add
 public void add(String moduleName,
                 String caName,
                 RCModuleInterface rcMod) throws CertificateManException
Adds a module to the list of initialised modules.

Parameters:
modulename - is the name of the module
caName - is the (public)name of the CA is the new CAEntity to be added
rcMod - is a handle to the RCModule
Throws: CertificateManException
if ....
 o get
 public RCModuleInterface get(String moduleName,
                              String caName) throws CertificateManException
Returning the information for a given CA and given module. If the module is null, information registered for an arbitrary module is returned (useful if a CA uses the same information for all modules).

Parameters:
moduleName - is the name of the module
caName - is the (public) name of the CA is the new CAEntity to be added
Returns:
the public key for the given An and module
 o remove
 public void remove(String moduleName,
                    String caName) throws CertificateManException
Removing the module in case it should no longer be considered initialised.

Parameters:
moduleName - is the name of the module
caName - is the (public) name of the CA is the new CAEntity to be added
Throws: CertificateManException
if the module could not be removed (insufficient information).

All Packages  Class Hierarchy  This Package  Previous  Next  Index