ECPairFactorTransform, ECPairTransformpublic class ECFixedTransform extends java.lang.Object implements ECPairFactorTransform
| Constructor | Description |
|---|---|
ECFixedTransform(java.math.BigInteger k) |
| Modifier and Type | Method | Description |
|---|---|---|
protected ECMultiplier |
createBasePointMultiplier() |
|
java.math.BigInteger |
getTransformValue() |
Return the last transform value used by the transform
|
void |
init(CipherParameters param) |
initialise the underlying 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 ECPairTransformparam - the necessary EC key parameters.public ECPair transform(ECPair cipherText)
transform in interface ECPairTransformcipherText - the EC point to process.public java.math.BigInteger getTransformValue()
getTransformValue in interface ECPairFactorTransformprotected ECMultiplier createBasePointMultiplier()