All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.provider.rpk.RPKKeyPairGenerator

java.lang.Object
   |
   +----java.security.KeyPairGenerator
           |
           +----cryptix.provider.rpk.RPKKeyPairGenerator

public class RPKKeyPairGenerator
extends KeyPairGenerator
implements RPKParams
A subclass of java.security.KeyPairGenerator to generate pairs of RPK cryptographic keys for use in secure communication. Each pair consists of a Public Key and a Private Key, which in the RPK system are referred to as E and D respectively.

References:

  1. William M. Raike, The RPK Public-Key Cryptographic System - Technical Summary (available at http://crypto.swdev.co.nz).

  2. William M. Raike, Detailed Supplemental Technical Description of the RPK Public-Key Cryptographic System (available at http://crypto.swdev.co.nz).

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.5 $

Author:
Raif S. Naffah
See Also:
KeyPairGenerator

Constructor Index

 o RPKKeyPairGenerator()

Method Index

 o generateKeyPair()
Generate a new RPK key pair.
 o initialize(int, SecureRandom)
Initialise the RPK key pair generator.

Constructors

 o RPKKeyPairGenerator
 public RPKKeyPairGenerator() throws NoSuchProviderException, NoSuchAlgorithmException

Methods

 o initialize
 public void initialize(int strength,
                        SecureRandom source)
Initialise the RPK key pair generator.

Parameters:
strength - For the RPK system, this is taken to be the desired granularity property for newly generated keypairs. If the designated value is inadmissible, a default one, defined in RPKParams, will be used.
source - A cryptographically strong source of pseudo random data.
Overrides:
initialize in class KeyPairGenerator
See Also:
DEFAULT_GRANULARITY
 o generateKeyPair
 public KeyPair generateKeyPair()
Generate a new RPK key pair.

Overrides:
generateKeyPair in class KeyPairGenerator

All Packages  Class Hierarchy  This Package  Previous  Next  Index