org.gudy.bouncycastle.jce.provider
Class DSAUtil

java.lang.Object
  extended by org.gudy.bouncycastle.jce.provider.DSAUtil

public class DSAUtil
extends Object

utility class for converting jce/jca DSA objects objects into their org.gudy.bouncycastle.crypto counterparts.


Constructor Summary
DSAUtil()
           
 
Method Summary
static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key)
           
static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSAUtil

public DSAUtil()
Method Detail

generatePublicKeyParameter

public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key)
                                                         throws InvalidKeyException
Throws:
InvalidKeyException

generatePrivateKeyParameter

public static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key)
                                                          throws InvalidKeyException
Throws:
InvalidKeyException