org.gudy.bouncycastle.jce.provider
Class ElGamalUtil
java.lang.Object
  
org.gudy.bouncycastle.jce.provider.ElGamalUtil
public class ElGamalUtil
- extends Object
 
utility class for converting jce/jca ElGamal objects
 objects into their org.gudy.bouncycastle.crypto counterparts.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ElGamalUtil
public ElGamalUtil()
generatePublicKeyParameter
public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key)
                                                         throws InvalidKeyException
- Throws:
 InvalidKeyException
 
generatePrivateKeyParameter
public static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key)
                                                          throws InvalidKeyException
- Throws:
 InvalidKeyException