| Package | Description |
|---|---|
| net.i2p.crypto | Core cryptographic primitives and algorithms used throughout I2P. |
| net.i2p.crypto.elgamal | Implementation of the ElGamal public-key cryptosystem for I2P. |
| net.i2p.crypto.elgamal.impl | Concrete implementations of ElGamal cryptographic keys for I2P. |
| net.i2p.crypto.elgamal.spec | Parameter specifications and key interfaces for ElGamal cryptographic operations. |
| Modifier and Type | Field and Description |
|---|---|
static ElGamalParameterSpec | CryptoConstants.I2P_ELGAMAL_2048_SPEC |
| Modifier and Type | Method and Description |
|---|---|
ElGamalParameterSpec | ElGamalKey.getParameters()getParameters(). |
| Modifier and Type | Method and Description |
|---|---|
ElGamalParameterSpec | ElGamalPublicKeyImpl.getParameters()Parameters. |
ElGamalParameterSpec | ElGamalPrivateKeyImpl.getParameters() |
| Constructor and Description |
|---|
ElGamalPrivateKeyImpl(BigInteger x,
ElGamalParameterSpec elSpec) |
ElGamalPublicKeyImpl(BigInteger y,
ElGamalParameterSpec elSpec)ElGamalPublicKeyImpl. |
| Modifier and Type | Method and Description |
|---|---|
ElGamalParameterSpec | ElGamalKeySpec.getParams()Returns the ElGamal parameter specification. |
| Constructor and Description |
|---|
ElGamalKeySpec(ElGamalParameterSpec spec)Constructs an ElGamal key specification with the given parameters. |
ElGamalPrivateKeySpec(BigInteger x,
ElGamalParameterSpec spec)Constructs an ElGamal private key specification. |
ElGamalPublicKeySpec(BigInteger y,
ElGamalParameterSpec spec)Constructs an ElGamal public key specification. |