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.data |
These classes define the common data structures used by the various
I2P protocols.
|
net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
net.i2p.router.message |
Creates and parses garlic messages.
|
net.i2p.router.networkdb.kademlia |
The network database, including implementation of floodfills.
|
net.i2p.router.startup |
The I2P startup package loads the configuration when I2P is started.
|
Modifier and Type | Method and Description |
---|---|
Destination |
I2PSimpleClient.createDestination(OutputStream destKeyStream,
Certificate cert)
Deprecated.
Don't do this
|
Destination |
I2PClient.createDestination(OutputStream destKeyStream,
Certificate cert)
Create a new destination with the given certificate and store it, along with the private
encryption and signing keys at the specified location
Caller must close stream.
|
Modifier and Type | Method and Description |
---|---|
Destination |
I2PClientImpl.createDestination(OutputStream destKeyStream,
Certificate cert)
Create the destination with the given payload and write it out along with
the PrivateKey and SigningPrivateKey to the destKeyStream
If cert is a KeyCertificate, the signing keypair will be of the specified type.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyCertificate
This certificate type gets its own class because it's going to be used a lot.
|
Modifier and Type | Field and Description |
---|---|
protected Certificate |
KeysAndCert._certificate |
static Certificate |
Certificate.NULL_CERT |
Modifier and Type | Method and Description |
---|---|
static Certificate |
Certificate.create(byte[] data,
int off)
If null, P256 key, or Ed25519 key cert, return immutable static instance, else create new
|
static Certificate |
Certificate.create(InputStream in)
If null, P256 key, or Ed25519 key cert, return immutable static instance, else create new
|
Certificate |
KeysAndCert.getCertificate() |
Certificate |
PrivateKeyFile.setCertType(int t)
Change cert type - caller must also call write().
|
Certificate |
PrivateKeyFile.setHashCashCert(int effort)
change to hashcash cert - caller must also call write()
|
Certificate |
PrivateKeyFile.setKeyCert(SigType type)
Change cert type - caller must also call write().
|
Certificate |
PrivateKeyFile.setSignedCert(PrivateKeyFile pkf2)
sign this dest by dest found in pkf2 - caller must also call write()
|
Modifier and Type | Method and Description |
---|---|
void |
KeysAndCert.setCertificate(Certificate cert) |
Constructor and Description |
---|
KeyCertificate(Certificate cert)
Up-convert a cert to this class
|
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 |
---|---|
Certificate |
GarlicClove.getCertificate() |
Modifier and Type | Method and Description |
---|---|
void |
GarlicClove.setCertificate(Certificate cert) |
Modifier and Type | Method and Description |
---|---|
Certificate |
GarlicConfig.getCertificate() |
Certificate |
CloveSet.getCertificate() |
Modifier and Type | Method and Description |
---|---|
void |
GarlicConfig.setCertificate(Certificate cert)
Certificate for the getRecipient() to pay for their processing
|
Constructor and Description |
---|
CloveSet(GarlicClove[] cloves,
Certificate cert,
long msgId,
long expiration) |
Modifier and Type | Method and Description |
---|---|
static boolean |
StoreJob.supportsCert(RouterInfo ri,
Certificate cert)
Does this router understand this cert?
|
Modifier and Type | Method and Description |
---|---|
(package private) static Certificate |
CreateRouterInfoJob.createCertificate(RouterContext ctx,
SigningPublicKey spk)
Only called at startup via LoadRouterInfoJob and RebuildRouterInfoJob.
|