public class ECNewPublicKeyTransform extends java.lang.Object implements ECPairTransform
Constructor and Description |
---|
ECNewPublicKeyTransform() |
Modifier and Type | Method and Description |
---|---|
protected ECMultiplier |
createBasePointMultiplier() |
void |
init(CipherParameters param)
initialise the EC Elgamal engine.
|
ECPair |
transform(ECPair cipherText)
Transform an existing cipher text pair using the ElGamal algorithm.
|
public void init(CipherParameters param)
init
in interface ECPairTransform
param
- the necessary EC key parameters.public ECPair transform(ECPair cipherText)
transform
in interface ECPairTransform
cipherText
- the EC point to process.protected ECMultiplier createBasePointMultiplier()