For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.sig
Class DSSKeyPairGeneratorSpi

java.lang.Object
  extended by java.security.KeyPairGeneratorSpi
      extended by gnu.crypto.jce.sig.KeyPairGeneratorAdapter
          extended by gnu.crypto.jce.sig.DSSKeyPairGeneratorSpi

public class DSSKeyPairGeneratorSpi
extends KeyPairGeneratorAdapter

The implementation of a KeyPairGenerator adapter class to wrap gnu.crypto DSS keypair generator instances.

In case the client does not explicitly initialize the KeyPairGenerator (via a call to an initialize() method), the GNU Crypto provider uses a default modulus size (keysize) of 1024 bits.

Version:
$Revision: 1.3 $

Field Summary
 
Fields inherited from class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
adaptee
 
Constructor Summary
DSSKeyPairGeneratorSpi()
           
 
Method Summary
 void initialize(AlgorithmParameterSpec params, SecureRandom random)
           
 void initialize(int keysize, SecureRandom random)
           
 
Methods inherited from class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
generateKeyPair
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSSKeyPairGeneratorSpi

public DSSKeyPairGeneratorSpi()
Method Detail

initialize

public void initialize(int keysize,
                       SecureRandom random)
Specified by:
initialize in class KeyPairGeneratorAdapter

initialize

public void initialize(AlgorithmParameterSpec params,
                       SecureRandom random)
                throws InvalidAlgorithmParameterException
Specified by:
initialize in class KeyPairGeneratorAdapter
Throws:
InvalidAlgorithmParameterException

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.