Package | Description |
---|---|
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.client.naming |
Provides a standard way for querying the local naming service to resolve a
name into a
Destination (without the complexity of JNDI). |
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.i2ptunnel.web |
The UI for adding tunnels and editing their configurations,
implemented as a webapp packaged in i2ptunnel.war.
|
net.i2p.router |
The I2P router application handles the I2P network communication.
|
net.i2p.router.startup |
The I2P startup package loads the configuration when I2P is started.
|
Modifier and Type | Method and Description |
---|---|
SigningPrivateKey |
I2PSession.getPrivateKey()
Retrieve the signing SigningPrivateKey associated with the Destination
|
Modifier and Type | Method and Description |
---|---|
SigningPrivateKey |
I2PSessionImpl.getPrivateKey()
Retrieve the signing SigningPrivateKey
|
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 |
---|---|
void |
HostTxtEntry.sign(SigningPrivateKey spk)
Sign and set the "sig" property
Must have been constructed with non-null properties.
|
void |
HostTxtEntry.signInner(SigningPrivateKey spk)
Sign and set the "oldsig" property
Must have been constructed with non-null properties.
|
void |
HostTxtEntry.signRemove(SigningPrivateKey spk)
Sign as a "remove" line #!dest=dest#name=name#k1=v1#sig=sig...]
Must have been constructed with non-null properties.
|
Modifier and Type | Method and Description |
---|---|
static SigningPrivateKey |
SigUtil.fromJavaKey(DSAPrivateKey pk) |
static SigningPrivateKey |
SigUtil.fromJavaKey(ECPrivateKey pk,
SigType type) |
static SigningPrivateKey |
SigUtil.fromJavaKey(EdDSAPrivateKey pk,
SigType type) |
static SigningPrivateKey |
SigUtil.fromJavaKey(PrivateKey pk)
Use if SigType is unknown.
|
static SigningPrivateKey |
SigUtil.fromJavaKey(PrivateKey pk,
SigType type)
Use if SigType is known.
|
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 |
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 EdDSAPrivateKey |
SigUtil.toJavaEdDSAKey(SigningPrivateKey pk) |
static PrivateKey |
SigUtil.toJavaKey(SigningPrivateKey pk) |
static RSAPrivateKey |
SigUtil.toJavaRSAKey(SigningPrivateKey pk) |
Modifier and Type | Field and Description |
---|---|
protected SigningPrivateKey |
PrivateKeyFile.signingPrivKey |
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) |
PrivateKeyFile(File file,
PublicKey pubkey,
SigningPublicKey spubkey,
Certificate cert,
PrivateKey pk,
SigningPrivateKey spk,
byte[] padding) |
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 |
EditBean.getSigningPrivateKey(int tunnel) |
Modifier and Type | Method and Description |
---|---|
SigningPrivateKey |
LeaseSetKeys.getRevocationKey()
Key with which a LeaseSet can be revoked (by republishing it with no Leases)
Deprecated, unused
|
SigningPrivateKey |
KeyManager.getSigningPrivateKey()
Router key
|
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) |
Modifier and Type | Field and Description |
---|---|
SigningPrivateKey |
LoadRouterInfoJob.KeyData.signingPrivateKey |
Constructor and Description |
---|
LoadRouterInfoJob.KeyData(RouterIdentity ri,
PrivateKey pk,
SigningPrivateKey spk) |