Package | Description |
---|---|
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.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.
|
net.i2p.router.web.helpers |
Helpers and handlers for the router console user interface,
with these classes supporting the webapp in routerconsole.war.
|
Modifier and Type | Method and Description |
---|---|
static EncType |
EncType.getByCode(int code) |
static EncType |
EncType.parseEncType(String stype)
Convenience for user apps
|
static EncType |
EncType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncType[] |
EncType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
KeyPair |
KeyGenerator.generatePKIKeys(EncType type)
Supports EncTypes
|
Modifier and Type | Method and Description |
---|---|
EncType |
KeyCertificate.getEncType() |
EncType |
KeysAndCert.getEncType() |
EncType |
PrivateKey.getType() |
EncType |
PublicKey.getType() |
Modifier and Type | Method and Description |
---|---|
PublicKey |
EncryptedLeaseSet.getEncryptionKey(Set<EncType> supported)
If more than one key, return the first supported one.
|
PublicKey |
LeaseSet2.getEncryptionKey(Set<EncType> supported)
If more than one key, return the first supported one.
|
PublicKey |
LeaseSet.getEncryptionKey(Set<EncType> supported)
If more than one key, return the first supported one.
|
Constructor and Description |
---|
KeyCertificate(SigType type,
EncType etype)
A KeyCertificate with crypto type
and the signature type as specified.
|
PrivateKey(EncType type) |
PrivateKey(EncType type,
byte[] data) |
PrivateKey(EncType type,
byte[] data,
PublicKey pubKey) |
PublicKey(EncType type) |
PublicKey(EncType type,
byte[] data) |
Modifier and Type | Field and Description |
---|---|
static Set<EncType> |
LeaseSetKeys.SET_BOTH
Unmodifiable, ElGamal and ECIES-X25519.
|
static Set<EncType> |
LeaseSetKeys.SET_EC
Unmodifiable, ECIES-X25519 only
|
static Set<EncType> |
LeaseSetKeys.SET_ELG
Unmodifiable, ElGamal only
|
Modifier and Type | Method and Description |
---|---|
Set<EncType> |
LeaseSetKeys.getSupportedEncryption()
What types of encryption are supported?
|
Modifier and Type | Method and Description |
---|---|
PrivateKey |
LeaseSetKeys.getDecryptionKey(EncType type)
Decryption key which can open up garlic messages encrypted to the
LeaseSet's public key.
|
boolean |
LeaseSetKeys.isSupported(EncType type)
Do we support this type of encryption?
|
Modifier and Type | Method and Description |
---|---|
static EncType |
CreateRouterInfoJob.getEncTypeConfig(RouterContext ctx)
The configured EncType to expect on read-in
|
Modifier and Type | Method and Description |
---|---|
void |
NetDbRenderer.renderRouterInfoHTML(Writer out,
int pageSize,
int page,
String routerPrefix,
String version,
String country,
String family,
String caps,
String ip,
String sybil,
int port,
int highPort,
SigType type,
EncType etype,
String mtu,
String ipv6,
String ssucaps,
String tr,
int cost,
int icount)
At least one String must be non-null, non-empty
|