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.
|
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 |
PublicKey.getType() |
EncType |
PrivateKey.getType() |
Constructor and Description |
---|
PrivateKey(EncType type) |
PrivateKey(EncType type,
byte[] data) |
PublicKey(EncType type) |
PublicKey(EncType type,
byte[] data) |