|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.ec.ECFixedTransform
this transforms the original randomness used for an ElGamal encryption by a fixed value.
Constructor Summary | |
ECFixedTransform(java.math.BigInteger k)
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ECFixedTransform(java.math.BigInteger k)
Method Detail |
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 java.math.BigInteger getTransformValue()
getTransformValue
in interface ECPairFactorTransform
protected ECMultiplier createBasePointMultiplier()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |