|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.ec.ECFixedTransform
public class ECFixedTransform
this transforms the original randomness used for an ElGamal encryption by a fixed value.
Constructor Summary | |
---|---|
ECFixedTransform(java.math.BigInteger k)
|
Method Summary | |
---|---|
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 test 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
|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |