|
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.ECNewRandomnessTransform
public class ECNewRandomnessTransform
this transforms the original randomness used for an ElGamal encryption.
| Constructor Summary | |
|---|---|
ECNewRandomnessTransform()
|
|
| Method Summary | |
|---|---|
java.math.BigInteger |
getTransformValue()
Return the last random value generated for a 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 ECNewRandomnessTransform()
| Method Detail |
|---|
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 ECPairFactorTransform
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||