Package | Description |
---|---|
net.i2p.client |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
net.i2p.client.streaming.impl |
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
|
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.router |
The I2P router application handles the I2P network communication.
|
Modifier and Type | Method and Description |
---|---|
SigningPrivateKey |
I2PSessionImpl.getPrivateKey()
Retrieve the signing SigningPrivateKey
|
SigningPrivateKey |
I2PSession.getPrivateKey()
Retrieve the signing SigningPrivateKey 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 |
---|---|
int |
Packet.writeSignedPacket(byte[] buffer,
int offset,
I2PAppContext ctx,
SigningPrivateKey key)
Sign and write the packet to the buffer (starting at the offset) and return
the number of bytes written.
|
Modifier and Type | Method and Description |
---|---|
static SigningPrivateKey |
SigUtil.fromJavaKey(DSAPrivateKey pk) |
static SigningPrivateKey |
SigUtil.fromJavaKey(ECPrivateKey pk,
SigType type) |
static SigningPrivateKey |
SigUtil.fromJavaKey(PrivateKey pk,
SigType type) |
static SigningPrivateKey |
SigUtil.fromJavaKey(RSAPrivateKey pk,
SigType type)
Deprecated.
unused
|
Modifier and Type | Method and Description |
---|---|
static SigningPublicKey |
KeyGenerator.getSigningPublicKey(SigningPrivateKey priv)
Convert a SigningPrivateKey to a SigningPublicKey.
|
Signature |
DSAEngine.sign(byte[] data,
int offset,
int length,
SigningPrivateKey signingKey)
Sign using any key type as of 0.9.12 (DSA-SHA1 only prior to that)
|
Signature |
DummyDSAEngine.sign(byte[] data,
SigningPrivateKey signingKey) |
Signature |
DSAEngine.sign(byte[] data,
SigningPrivateKey signingKey)
Sign using any key type.
|
Signature |
DSAEngine.sign(Hash hash,
SigningPrivateKey signingKey)
Nonstandard.
|
Signature |
DSAEngine.sign(InputStream in,
SigningPrivateKey signingKey)
Sign using DSA-SHA1 ONLY.
|
Signature |
DSAEngine.sign(SHA1Hash hash,
SigningPrivateKey signingKey)
Sign using DSA-SHA1 ONLY.
|
Signature |
DSAEngine.sign(SimpleDataStructure hash,
SigningPrivateKey signingKey)
Generic signature type.
|
Signature |
TrustedUpdate.sign(String inputFile,
String signedFile,
SigningPrivateKey signingPrivateKey,
String version)
Uses the given
SigningPrivateKey to sign the given
input file along with its version string using DSA. |
static DSAPrivateKey |
SigUtil.toJavaDSAKey(SigningPrivateKey pk) |
static ECPrivateKey |
SigUtil.toJavaECKey(SigningPrivateKey pk) |
static PrivateKey |
SigUtil.toJavaKey(SigningPrivateKey pk) |
static RSAPrivateKey |
SigUtil.toJavaRSAKey(SigningPrivateKey pk)
Deprecated.
unused
|
Modifier and Type | Method and Description |
---|---|
SigningPrivateKey |
PrivateKeyFile.getSigningPrivKey() |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseEntry.sign(SigningPrivateKey key)
Sign the structure using the supplied signing key
|
Constructor and Description |
---|
PrivateKeyFile(File file,
Destination dest,
PrivateKey pk,
SigningPrivateKey spk) |
PrivateKeyFile(File file,
PublicKey pubkey,
SigningPublicKey spubkey,
Certificate cert,
PrivateKey pk,
SigningPrivateKey spk) |
Modifier and Type | Method and Description |
---|---|
SigningPrivateKey |
CreateLeaseSetMessage.getSigningPrivateKey() |
Modifier and Type | Method and Description |
---|---|
void |
CreateLeaseSetMessage.setSigningPrivateKey(SigningPrivateKey key) |
void |
SessionConfig.signSessionConfig(SigningPrivateKey signingKey)
Sign the structure using the supplied private key
|
Modifier and Type | Method and Description |
---|---|
SigningPrivateKey |
LeaseSetKeys.getRevocationKey()
Deprecated.
unused
|
SigningPrivateKey |
KeyManager.getSigningPrivateKey()
router
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
LeaseSetKeys(Destination dest,
SigningPrivateKey revocationKey,
PrivateKey decryptionKey) |