public class ECFixedTransform extends Object implements ECPairFactorTransform
Constructor and Description |
---|
ECFixedTransform(BigInteger k) |
Modifier and Type | Method and Description |
---|---|
protected ECMultiplier |
createBasePointMultiplier() |
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 ECFixedTransform(BigInteger k)
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.public BigInteger getTransformValue()
getTransformValue
in interface ECPairFactorTransform
protected ECMultiplier createBasePointMultiplier()
Copyright © 2020 BouncyCastle.org. All rights reserved.