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.
|
Modifier and Type | Method and Description |
---|---|
static SigningPublicKey |
KeyGenerator.getSigningPublicKey(SigningPrivateKey priv)
Convert a SigningPrivateKey to a SigningPublicKey
|
Modifier and Type | Method and Description |
---|---|
boolean |
TrustedUpdate.verify(File signedFile,
SigningPublicKey signingPublicKey)
Verifies the DSA signature of a signed update file.
|
boolean |
DSAEngine.verifySignature(Signature signature,
byte[] signedData,
int offset,
int size,
SigningPublicKey verifyingKey)
Verify using DSA-SHA1
|
boolean |
DummyDSAEngine.verifySignature(Signature signature,
byte[] signedData,
SigningPublicKey verifyingKey) |
boolean |
DSAEngine.verifySignature(Signature signature,
byte[] signedData,
SigningPublicKey verifyingKey)
Verify using DSA-SHA1.
|
boolean |
DSAEngine.verifySignature(Signature signature,
Hash hash,
SigningPublicKey verifyingKey)
Used by Syndie.
|
boolean |
DSAEngine.verifySignature(Signature signature,
InputStream in,
SigningPublicKey verifyingKey)
Verify using DSA-SHA1
|
boolean |
DSAEngine.verifySignature(Signature signature,
SHA1Hash hash,
SigningPublicKey verifyingKey) |
Modifier and Type | Field and Description |
---|---|
protected SigningPublicKey |
KeysAndCert._signingKey |
Modifier and Type | Method and Description |
---|---|
static SigningPublicKey |
SigningPublicKey.create(byte[] data,
int off)
Pull from cache or return new
|
static SigningPublicKey |
SigningPublicKey.create(InputStream in)
Pull from cache or return new
|
SigningPublicKey |
LeaseSet.getSigningKey()
Deprecated.
unused
|
protected SigningPublicKey |
DatabaseEntry.getSigningPublicKey()
Identical to getDestination().getSigningPublicKey() in LeaseSet,
and getIdentity().getSigningPublicKey() in RouterInfo.
|
SigningPublicKey |
KeysAndCert.getSigningPublicKey() |
SigningPublicKey |
SigningPrivateKey.toPublic()
converts this signing private key to its public equivalent
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PrivateKeyFile.checkSignature(Signature s,
byte[] data,
SigningPublicKey spk) |
void |
LeaseSet.setSigningKey(SigningPublicKey key) |
void |
KeysAndCert.setSigningPublicKey(SigningPublicKey key) |
boolean |
LeaseSet.verifySignature(SigningPublicKey signingKey)
Deprecated.
revocation unused
|
Modifier and Type | Method and Description |
---|---|
SigningPublicKey |
KeyManager.getSigningPublicKey() |
Modifier and Type | Method and Description |
---|---|
void |
KeyManager.setSigningPublicKey(SigningPublicKey key)
Configure the router's signing public key
|