Package org.bouncycastle.crypto.ec
Class ECElGamalDecryptor
java.lang.Object
org.bouncycastle.crypto.ec.ECElGamalDecryptor
- All Implemented Interfaces:
ECDecryptor
this does your basic decryption ElGamal style using EC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDecrypt an EC pair producing the original EC point.void
init
(CipherParameters param) initialise the decryptor.
-
Constructor Details
-
ECElGamalDecryptor
public ECElGamalDecryptor()
-
-
Method Details
-
init
initialise the decryptor.- Specified by:
init
in interfaceECDecryptor
- Parameters:
param
- the necessary EC key parameters.
-
decrypt
Decrypt an EC pair producing the original EC point.- Specified by:
decrypt
in interfaceECDecryptor
- Parameters:
pair
- the EC point pair to process.- Returns:
- the result of the Elgamal process.
-