Top Description Fields Constructors Methods
org.bouncycastle.crypto.ec

public Class ECElGamalDecryptor

extends Object
implements ECDecryptor
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.ec.ECDecryptor
Imports
org.bouncycastle.crypto.CipherParameters, org.bouncycastle.crypto.params.ECPrivateKeyParameters, org.bouncycastle.math.ec.ECAlgorithms, .ECCurve, .ECPoint

this does your basic decryption ElGamal style using EC

Field Summary

Modifier and TypeField and Description
private ECPrivateKeyParameters

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ECPoint

Returns:

the result of the Elgamal process.
decrypt
(ECPair
the EC point pair to process.
pair
)

Implements org.bouncycastle.crypto.ec.ECDecryptor.decrypt.

Decrypt an EC pair producing the original EC point.

public void
init(CipherParameters
the necessary EC key parameters.
param
)

Implements org.bouncycastle.crypto.ec.ECDecryptor.init.

initialise the decryptor.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyback to summary
private ECPrivateKeyParameters key

Constructor Detail

ECElGamalDecryptorback to summary
public ECElGamalDecryptor()

Method Detail

decryptback to summary
public ECPoint decrypt(ECPair pair)

Implements org.bouncycastle.crypto.ec.ECDecryptor.decrypt.

Decrypt an EC pair producing the original EC point.

Parameters
pair:ECPair

the EC point pair to process.

Returns:ECPoint

the result of the Elgamal process.

initback to summary
public void init(CipherParameters param)

Implements org.bouncycastle.crypto.ec.ECDecryptor.init.

initialise the decryptor.

Parameters
param:CipherParameters

the necessary EC key parameters.