Package | Description |
---|---|
net.i2p.client.streaming.impl |
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
|
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.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
Modifier and Type | Field and Description |
---|---|
protected Signature |
Packet._optionSignature |
Modifier and Type | Method and Description |
---|---|
Signature |
Packet.getOptionalSignature()
The signature on the packet (only included if the flag for it is set)
Warning, may be typed wrong on incoming packets for EdDSA
before verifySignature() is called.
|
Modifier and Type | Method and Description |
---|---|
void |
Packet.setOptionalSignature(Signature sig)
This also sets flag FLAG_SIGNATURE_INCLUDED
|
Modifier and Type | Method and Description |
---|---|
static Signature |
SigUtil.fromJavaSig(byte[] asn,
SigType type) |
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,
PrivateKey privKey,
SigType type)
Generic signature type.
|
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. |
Signature |
TrustedUpdate.sign(String inputFile,
String signedFile,
String privateKeyFile,
String version)
Uses the given private key to sign the given input file along with its
version string using DSA.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
SigUtil.toJavaSig(Signature sig) |
boolean |
DSAEngine.verifySignature(Signature signature,
byte[] signedData,
int offset,
int size,
SigningPublicKey verifyingKey)
Verify using any sig type as of 0.9.12 (DSA only prior to that)
|
boolean |
DSAEngine.verifySignature(Signature signature,
byte[] signedData,
SigningPublicKey verifyingKey)
Verify using any sig type.
|
boolean |
DSAEngine.verifySignature(Signature signature,
Hash hash,
SigningPublicKey verifyingKey)
Nonstandard.
|
boolean |
DSAEngine.verifySignature(Signature signature,
InputStream in,
SigningPublicKey verifyingKey)
Verify using DSA-SHA1 ONLY
|
boolean |
DSAEngine.verifySignature(Signature signature,
SHA1Hash hash,
SigningPublicKey verifyingKey)
Verify using DSA-SHA1 ONLY
|
boolean |
DSAEngine.verifySignature(Signature signature,
SimpleDataStructure hash,
PublicKey pubKey)
Generic signature type.
|
boolean |
DSAEngine.verifySignature(Signature signature,
SimpleDataStructure hash,
SigningPublicKey verifyingKey)
Generic signature type.
|
Modifier and Type | Field and Description |
---|---|
protected Signature |
DatabaseEntry._signature |
Modifier and Type | Method and Description |
---|---|
Signature |
DatabaseEntry.getSignature()
Retrieve the proof that the identity stands behind the info here
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PrivateKeyFile.checkSignature(Signature s,
byte[] data,
SigningPublicKey spk) |
void |
DatabaseEntry.setSignature(Signature signature)
Configure the proof that the entity stands behind the info here
|
Modifier and Type | Method and Description |
---|---|
Signature |
SessionConfig.getSignature() |
Modifier and Type | Method and Description |
---|---|
void |
SessionConfig.setSignature(Signature sig) |
Modifier and Type | Method and Description |
---|---|
Signature |
InboundEstablishState.getSentSignature() |
Signature |
OutboundEstablishState.getSentSignature() |