Package | Description |
---|---|
net.i2p.client |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
net.i2p.crypto |
These classes provide a number of low-level cryptographic routines.
|
net.i2p.data |
These classes define the common data structures used by the various
I2P protocols.
|
net.i2p.data.i2cp |
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to
the I2P network without requiring them to deal with the issues involved with the
Invisible Internet Network Protocol (I2NP).
|
net.i2p.data.i2np |
The Invisible Internet Network Protocol (I2NP) is only a part of how an
application can send messages over the network.
|
net.i2p.router |
The I2P router application handles the I2P network communication.
|
net.i2p.router.client | |
net.i2p.router.message | |
net.i2p.router.tunnel |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
I2PSessionImpl.getDecryptionKey()
Retrieve the decryption PrivateKey
|
PrivateKey |
I2PSession.getDecryptionKey()
Retrieve the decryption PrivateKey associated with the Destination
|
Modifier and Type | Method and Description |
---|---|
void |
I2CPMessageProducer.createLeaseSet(I2PSessionImpl session,
LeaseSet leaseSet,
SigningPrivateKey signingPriv,
PrivateKey priv)
Create a new signed leaseSet in response to a request to do so and send it
to the router
|
Modifier and Type | Method and Description |
---|---|
byte[] |
ElGamalAESEngine.decrypt(byte[] data,
PrivateKey targetPrivateKey)
Deprecated.
specify the key manager!
|
byte[] |
ElGamalEngine.decrypt(byte[] encrypted,
PrivateKey privateKey)
Decrypt the data
|
byte[] |
DummyElGamalEngine.decrypt(byte[] encrypted,
PrivateKey privateKey)
Decrypt the data
|
byte[] |
ElGamalAESEngine.decrypt(byte[] data,
PrivateKey targetPrivateKey,
SessionKeyManager keyManager)
Decrypt the message using the given private key
and using tags from the specified key manager.
|
static PublicKey |
KeyGenerator.getPublicKey(PrivateKey priv)
Convert a PrivateKey to its corresponding PublicKey
|
Modifier and Type | Method and Description |
---|---|
PrivateKey |
PrivateKeyFile.getPrivKey() |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
CreateLeaseSetMessage.getPrivateKey() |
Modifier and Type | Method and Description |
---|---|
void |
CreateLeaseSetMessage.setPrivateKey(PrivateKey privateKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
BuildRequestRecord.decryptRecord(I2PAppContext ctx,
PrivateKey ourKey,
Hash ourIdent,
ByteArray encryptedRecord)
Decrypt the data from the specified record, writing the decrypted record into this instance's
buffer (but not overwriting the array contained within the old buffer)
|
Modifier and Type | Method and Description |
---|---|
PrivateKey |
LeaseSetKeys.getDecryptionKey()
Decryption key which can open up garlic messages encrypted to the
LeaseSet's public key.
|
PrivateKey |
KeyManager.getPrivateKey() |
Modifier and Type | Method and Description |
---|---|
void |
KeyManager.registerKeys(Destination dest,
SigningPrivateKey leaseRevocationPrivateKey,
PrivateKey endpointDecryptionKey) |
void |
KeyManager.setPrivateKey(PrivateKey key)
Configure the router's private key
|
Constructor and Description |
---|
LeaseSetKeys(Destination dest,
SigningPrivateKey revocationKey,
PrivateKey decryptionKey) |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
LeaseRequestState.getPrivateKey()
the private encryption key received regarding the lease set
|
Modifier and Type | Method and Description |
---|---|
void |
LeaseRequestState.getPrivateKey(PrivateKey pk) |
Modifier and Type | Method and Description |
---|---|
CloveSet |
GarlicMessageParser.getGarlicCloves(GarlicMessage message,
PrivateKey encryptionKey,
SessionKeyManager skm) |
Modifier and Type | Method and Description |
---|---|
BuildRequestRecord |
BuildMessageProcessor.decrypt(I2PAppContext ctx,
TunnelBuildMessage msg,
Hash ourHash,
PrivateKey privKey)
Decrypt the record targetting us, encrypting all of the other records with the included
reply key and IV.
|