Bouncy Castle Cryptography Library 1.37

org.bouncycastle.jce.provider
Class DSAUtil

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

public class DSAUtil
extends java.lang.Object

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


Constructor Summary
DSAUtil()
           
 
Method Summary
static AsymmetricKeyParameter generatePrivateKeyParameter(java.security.PrivateKey key)
           
static AsymmetricKeyParameter generatePublicKeyParameter(java.security.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(java.security.PublicKey key)
                                                         throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException

generatePrivateKeyParameter

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

Bouncy Castle Cryptography Library 1.37