An Authentication and Authorization Architecture for Jini Services

Thomas Schoch · 2000

class KeyPairGenerator { static KeyPairGenerator getInstance(String, String); void initialize(AlgorithmParameterSpec); final KeyPair genKeyPair(); ... } First, the instance is created by calling getInstance(), then it has to be initialized with some parameter which the algorithm needs and at least the key pair can be created by calling genKeyPair(). KeyPair is only a container class that stores the private and public key. 4.5.5 Usage of the Diffie Hellman Key Agreement Algorithm As mentioned above, the architecture suggests a default algorithm. The key agreement algorithm suggestion is the Diffie Hellmann key agreement algorithm (DH) which uses Diffie Hellman key pairs (DH). The parameters needed to generate the keys exponent and modulus are pregenerated, public and taken from Suns Diffie Hellman example program. DH is a one phase protocol, so that the doPhase() method has only to be called once with true as argument because the first phase is the last phase.

Read the paper · More papers on PaperTik