パッケージ | 説明 |
---|---|
net.i2p.client |
Interfaces and factories for
the base I2P SDK used to develop applications that communicate
through I2P.
|
net.i2p.client.impl |
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 |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
net.i2p.router |
The I2P router application handles the I2P network communication.
|
net.i2p.router.message |
Creates and parses garlic messages.
|
net.i2p.router.startup |
The I2P startup package loads the configuration when I2P is started.
|
net.i2p.router.tunnel |
All the work of managing locally created and participating tunnels,
creating and handling tunnel messages, and their encryption.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PrivateKey |
I2PSession.getDecryptionKey() |
Retrieve the decryption PrivateKey associated with the Destination
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PrivateKey |
I2PSessionImpl.getDecryptionKey() |
Retrieve the decryption PrivateKey
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
byte[] |
ElGamalAESEngine.decrypt(byte[] data,
PrivateKey targetPrivateKey) |
推奨されていません。
specify the key manager!
|
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.
|
byte[] |
ElGamalEngine.decrypt(byte[] encrypted,
PrivateKey privateKey) |
Decrypt the data
|
static PublicKey |
KeyGenerator.getPublicKey(PrivateKey priv) |
Convert a PrivateKey to its corresponding PublicKey
|
修飾子とタイプ | フィールド | 説明 |
---|---|---|
protected PrivateKey |
PrivateKeyFile.privKey |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PrivateKey |
PrivateKeyFile.getPrivKey() |
コンストラクタ | 説明 |
---|---|
PrivateKeyFile(java.io.File file,
Destination dest,
PrivateKey pk,
SigningPrivateKey spk) |
|
PrivateKeyFile(java.io.File file,
PublicKey pubkey,
SigningPublicKey spubkey,
Certificate cert,
PrivateKey pk,
SigningPrivateKey spk) |
|
PrivateKeyFile(java.io.File file,
PublicKey pubkey,
SigningPublicKey spubkey,
Certificate cert,
PrivateKey pk,
SigningPrivateKey spk,
byte[] padding) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PrivateKey |
CreateLeaseSetMessage.getPrivateKey() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
CreateLeaseSetMessage.setPrivateKey(PrivateKey privateKey) |
コンストラクタ | 説明 |
---|---|
BuildRequestRecord(I2PAppContext ctx,
PrivateKey ourKey,
EncryptedBuildRecord encryptedRecord) |
Decrypt the data from the specified record, writing the decrypted record into this instance's
data buffer
Caller MUST check that first 16 bytes of our hash matches first 16 bytes of encryptedRecord
before calling this.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
PrivateKey |
LeaseSetKeys.getDecryptionKey() |
Decryption key which can open up garlic messages encrypted to the
LeaseSet's public key.
|
PrivateKey |
KeyManager.getPrivateKey() |
Router key
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
KeyManager.registerKeys(Destination dest,
SigningPrivateKey leaseRevocationPrivateKey,
PrivateKey endpointDecryptionKey) |
client
|
void |
KeyManager.setKeys(PublicKey key1,
PrivateKey key2,
SigningPublicKey key3,
SigningPrivateKey key4) |
Configure the router's keys.
|
コンストラクタ | 説明 |
---|---|
LeaseSetKeys(Destination dest,
SigningPrivateKey revocationKey,
PrivateKey decryptionKey) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
CloveSet |
GarlicMessageParser.getGarlicCloves(GarlicMessage message,
PrivateKey encryptionKey,
SessionKeyManager skm) |
修飾子とタイプ | フィールド | 説明 |
---|---|---|
PrivateKey |
LoadRouterInfoJob.KeyData.privateKey |
コンストラクタ | 説明 |
---|---|
KeyData(RouterIdentity ri,
PrivateKey pk,
SigningPrivateKey spk) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
BuildRequestRecord |
BuildMessageProcessor.decrypt(TunnelBuildMessage msg,
Hash ourHash,
PrivateKey privKey) |
Decrypt the record targetting us, encrypting all of the other records with the included
reply key and IV.
|