Top Description Constructors Methods
org.bouncycastle.jcajce.provider.asymmetric.elgamal

public Class ElGamalUtil

extends Object
Class Inheritance
Imports
java.security.InvalidKeyException, .PrivateKey, .PublicKey, javax.crypto.interfaces.DHPrivateKey, .DHPublicKey, org.bouncycastle.crypto.params.AsymmetricKeyParameter, .ElGamalParameters, .ElGamalPrivateKeyParameters, .ElGamalPublicKeyParameters, org.bouncycastle.jce.interfaces.ElGamalPrivateKey, .ElGamalPublicKey

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static AsymmetricKeyParameter
public static AsymmetricKeyParameter
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ElGamalUtilback to summary
public ElGamalUtil()

Method Detail

generatePrivateKeyParameterback to summary
public static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key) throws InvalidKeyException
generatePublicKeyParameterback to summary
public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key) throws InvalidKeyException