Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.crypto.ec
Class ECElGamalDecryptor

    java.lang.Object
      org.bouncycastle.crypto.ec.ECElGamalDecryptor

All Implemented Interfaces:
  ECDecryptor

public class ECElGamalDecryptor
extends java.lang.Object
implements ECDecryptor

this does your basic decryption ElGamal style using EC

Constructor Summary
`ECElGamalDecryptor()`

Method Summary
`ECPoint` | `decrypt(ECPair pair)` Decrypt an EC pair producing the original EC point.
`void` | `init(CipherParameters param)` initialise the decryptor.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ECElGamalDecryptor

    public ECElGamalDecryptor()

Method Detail

### init

    public void init(CipherParameters param)

  initialise the decryptor.

  Specified by:
    `init` in interface `ECDecryptor`
  Parameters:
    `param` - the necessary EC key parameters.

### decrypt

    public ECPoint decrypt(ECPair pair)

  Decrypt an EC pair producing the original EC point.

  Specified by:
    `decrypt` in interface `ECDecryptor`
  Parameters:
    `pair` - the EC point pair to process.
  Returns:
    the result of the Elgamal process.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD