Package net.i2p.crypto
Class CryptoConstants
java.lang.Object
net.i2p.crypto.CryptoConstants
Prime for ElGamal from http://tools.ietf.org/html/rfc3526
Primes for DSA: Generated by TheCrypto http://article.gmane.org/gmane.comp.security.invisiblenet.iip.devel/343
See also: ECConstants, RSAConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DSAParameterSpecstatic final NativeBigIntegerstatic final NativeBigIntegerstatic final NativeBigIntegerstatic final AlgorithmParameterSpecThis will be org.bouncycastle.jce.spec.ElgamalParameterSpec if BC is available, otherwise it will be net.i2p.crypto.ElgamalParameterSpecstatic final NativeBigIntegerstatic final NativeBigInteger2048-bit MODP Group from RFC 3526static final ElGamalParameterSpec -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
dsap
-
dsaq
-
dsag
-
elgp
2048-bit MODP Group from RFC 3526 -
elgg
-
DSA_SHA1_SPEC
- Since:
- 0.9.9
-
I2P_ELGAMAL_2048_SPEC
- Since:
- 0.9.25
-
ELGAMAL_2048_SPEC
This will be org.bouncycastle.jce.spec.ElgamalParameterSpec if BC is available, otherwise it will be net.i2p.crypto.ElgamalParameterSpec- Since:
- 0.9.18
-
-
Constructor Details
-
CryptoConstants
public CryptoConstants()
-