Class ElGamalUtil
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.elgamal.ElGamalUtil
utility class for converting jce/jca ElGamal objects
objects into their org.bouncycastle.crypto counterparts.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ElGamalUtil
public ElGamalUtil()
-
-
Method Details
-
generatePublicKeyParameter
public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key) throws InvalidKeyException - Throws:
InvalidKeyException
-
generatePrivateKeyParameter
public static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key) throws InvalidKeyException - Throws:
InvalidKeyException
-