java.lang.Object
net.i2p.crypto.elgamal.spec.ElGamalParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
Copied from org.bouncycastle.jce.spec This can't actually be passed to the BC provider, we would have to use reflection to create a "real" org.bouncycasle.jce.spec.ElGamalParameterSpec.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BigIntegerThe generator.private final BigIntegerThe prime modulus.Constructor Summary
ConstructorsConstructorDescriptionParameter set for Diffie-Hellman, using a prime moduluspand a base generatorg.Method Summary
Field Details
p
The prime modulus.g
The generator.
Constructor Details
ElGamalParameterSpec
Parameter set for Diffie-Hellman, using a prime moduluspand a base generatorg.- Parameters:
p- The prime modulus.g- The base generator.
Method Details
getP
getG
hashCode
equals