de.flexiprovider.core.dsa.interfaces
Class DSAKeyPairGenerator

java.lang.Object
  |
  +--java.security.KeyPairGeneratorSpi
        |
        +--de.flexiprovider.api.keys.KeyPairGenerator
              |
              +--de.flexiprovider.core.dsa.interfaces.DSAKeyPairGenerator
Direct Known Subclasses:
DSAKeyPairGenerator

public abstract class DSAKeyPairGenerator
extends KeyPairGenerator

Translation layer between DSAParams and DSAParameterSpec.

Author:
Martin Döring

Constructor Summary
DSAKeyPairGenerator()
           
 
Method Summary
 void initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom javaRand)
          Translation method between DSAParams and DSAParameterSpec: initialize the key pair generator using the specified parameter set and user-provided source of randomness.
 
Methods inherited from class de.flexiprovider.api.keys.KeyPairGenerator
generateKeyPair, genKeyPair, initialize, initialize, initialize
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSAKeyPairGenerator

public DSAKeyPairGenerator()
Method Detail

initialize

public void initialize(java.security.spec.AlgorithmParameterSpec params,
                       java.security.SecureRandom javaRand)
                throws java.security.InvalidAlgorithmParameterException
Translation method between DSAParams and DSAParameterSpec: initialize the key pair generator using the specified parameter set and user-provided source of randomness. If params is an instance of DSAParams, it is converted to an instance of DSAParameterSpec.
Overrides:
initialize in class KeyPairGenerator
Parameters:
params - the parameter set used to generate the keys
javaRand - the source of randomness for this generator
Throws:
java.security.InvalidAlgorithmParameterException - if the given parameters are inappropriate for this key pair generator.