## Uses of Class
net.i2p.data.Signature

Packages that use Signature
Package | Description
--- | ---
net.i2p.client.streaming | Implements 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.

### Uses of Signature in net.i2p.client.streaming

Methods in net.i2p.client.streaming that return Signature
Modifier and Type | Method and Description
--- | ---
`Signature` | Packet.`getOptionalSignature()` the signature on the packet (only included if the flag for it is set)

Methods in net.i2p.client.streaming with parameters of type Signature
Modifier and Type | Method and Description
--- | ---
`void` | Packet.`setOptionalSignature(Signature sig)`

### Uses of Signature in net.i2p.crypto

Methods in net.i2p.crypto that return Signature
Modifier and Type | Method and Description
--- | ---
`Signature` | DSAEngine.`sign(byte[] data, int offset, int length, SigningPrivateKey signingKey)` Sign using DSA-SHA1
`Signature` | DummyDSAEngine.`sign(byte[] data, SigningPrivateKey signingKey)`
`Signature` | DSAEngine.`sign(byte[] data, SigningPrivateKey signingKey)` Sign using DSA-SHA1.
`Signature` | DSAEngine.`sign(Hash hash, SigningPrivateKey signingKey)` Used by Syndie.
`Signature` | DSAEngine.`sign(InputStream in, SigningPrivateKey signingKey)` Sign using DSA-SHA1.
`Signature` | DSAEngine.`sign(SHA1Hash hash, SigningPrivateKey signingKey)`
`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.

Methods in net.i2p.crypto with parameters of type Signature
Modifier and Type | Method and Description
--- | ---
`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)`

### Uses of Signature in net.i2p.data

Fields in net.i2p.data declared as Signature
Modifier and Type | Field and Description
--- | ---
`protected Signature` | DatabaseEntry.`_signature`

Methods in net.i2p.data that return Signature
Modifier and Type | Method and Description
--- | ---
`Signature` | DatabaseEntry.`getSignature()` Retrieve the proof that the identity stands behind the info here

Methods in net.i2p.data with parameters of type Signature
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

### Uses of Signature in net.i2p.data.i2cp

Methods in net.i2p.data.i2cp that return Signature
Modifier and Type | Method and Description
--- | ---
`Signature` | SessionConfig.`getSignature()`

Methods in net.i2p.data.i2cp with parameters of type Signature
Modifier and Type | Method and Description
--- | ---
`void` | SessionConfig.`setSignature(Signature sig)`

### Uses of Signature in net.i2p.router.transport.udp

Methods in net.i2p.router.transport.udp that return Signature
Modifier and Type | Method and Description
--- | ---
`Signature` | OutboundEstablishState.`getSentSignature()`
`Signature` | InboundEstablishState.`getSentSignature()`