Uses of Class
net.i2p.data.Signature
Packages that use Signature
Package
Description
Interfaces and factories for
the base I2P SDK used to develop applications that communicate
through I2P.
Implements the base I2P SDK for developing applications that communicate
through I2P.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
These classes provide a number of low-level cryptographic routines.
These classes define the common data structures used by the various
I2P protocols.
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).
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
These classes define the several useful utilities used
throughout the router and applications.
-
Uses of Signature in net.i2p.client
Methods in net.i2p.client that return Signature -
Uses of Signature in net.i2p.client.impl
Methods in net.i2p.client.impl that return Signature -
Uses of Signature in net.i2p.client.streaming.impl
Fields in net.i2p.client.streaming.impl declared as SignatureModifier and TypeFieldDescriptionprotected SignaturePacket._offlineSignatureprotected SignaturePacket._optionSignatureMethods in net.i2p.client.streaming.impl that return SignatureModifier and TypeMethodDescriptionPacket.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.Methods in net.i2p.client.streaming.impl with parameters of type SignatureModifier and TypeMethodDescriptionvoidPacket.setOptionalSignature(Signature sig) This also sets flag FLAG_SIGNATURE_INCLUDED -
Uses of Signature in net.i2p.crypto
Methods in net.i2p.crypto that return SignatureModifier and TypeMethodDescriptionstatic SignatureSigUtil.fromJavaSig(byte[] asn, SigType type) 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)DSAEngine.sign(byte[] data, SigningPrivateKey signingKey) Sign using any key type.DSAEngine.sign(InputStream in, SigningPrivateKey signingKey) Sign using DSA-SHA1 ONLY.DSAEngine.sign(SHA1Hash hash, SigningPrivateKey signingKey) Sign using DSA-SHA1 ONLY.DSAEngine.sign(Hash hash, SigningPrivateKey signingKey) Nonstandard.DSAEngine.sign(SimpleDataStructure hash, PrivateKey privKey, SigType type) Generic signature type.DSAEngine.sign(SimpleDataStructure hash, SigningPrivateKey signingKey) Generic signature type.Uses the given private key to sign the given input file along with its version string using DSA.TrustedUpdate.sign(String inputFile, String signedFile, SigningPrivateKey signingPrivateKey, String version) Uses the givenSigningPrivateKeyto sign the given input file along with its version string using DSA.Methods in net.i2p.crypto with parameters of type SignatureModifier and TypeMethodDescriptionstatic byte[]booleanDSAEngine.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)booleanDSAEngine.verifySignature(Signature signature, byte[] signedData, SigningPublicKey verifyingKey) Verify using any sig type.booleanDSAEngine.verifySignature(Signature signature, InputStream in, SigningPublicKey verifyingKey) Verify using DSA-SHA1 ONLYbooleanDSAEngine.verifySignature(Signature signature, SHA1Hash hash, SigningPublicKey verifyingKey) Verify using DSA-SHA1 ONLYbooleanDSAEngine.verifySignature(Signature signature, Hash hash, SigningPublicKey verifyingKey) Nonstandard.booleanDSAEngine.verifySignature(Signature signature, SimpleDataStructure hash, PublicKey pubKey) Generic signature type.booleanDSAEngine.verifySignature(Signature signature, SimpleDataStructure hash, SigningPublicKey verifyingKey) Generic signature type. -
Uses of Signature in net.i2p.data
Fields in net.i2p.data declared as SignatureModifier and TypeFieldDescriptionprotected SignatureLeaseSet2._offlineSignatureprotected SignatureDatabaseEntry._signatureMethods in net.i2p.data that return SignatureModifier and TypeMethodDescriptionPrivateKeyFile.getOfflineSignature()DatabaseEntry.getSignature()Retrieve the proof that the identity stands behind the info herestatic SignatureLeaseSet2.offlineSign(long expires, SigningPublicKey transientSPK, SigningPrivateKey priv) Generate a Signature to pass to setOfflineSignature()Methods in net.i2p.data with parameters of type SignatureModifier and TypeMethodDescriptionstatic booleanPrivateKeyFile.checkSignature(Signature s, byte[] data, SigningPublicKey spk) voidPrivateKeyFile.setOfflineData(long expires, SigningPublicKey transientPub, Signature sig, SigningPrivateKey transientPriv) Side effect - zeroes out the current signing private keybooleanLeaseSet2.setOfflineSignature(long expires, SigningPublicKey transientSPK, Signature offlineSig) Destination must be previously set.voidDatabaseEntry.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 SignatureModifier and TypeMethodDescriptionSessionConfig.getOfflineSignature()SessionConfig.getSignature()Methods in net.i2p.data.i2cp with parameters of type SignatureModifier and TypeMethodDescriptionvoidSessionConfig.setOfflineSignature(long expires, SigningPublicKey transientSPK, Signature offlineSig) Set the offline signing data.voidSessionConfig.setSignature(Signature sig) -
Uses of Signature in net.i2p.router.transport.udp
Methods in net.i2p.router.transport.udp that return SignatureModifier and TypeMethodDescriptionInboundEstablishState.getSentSignature()OutboundEstablishState.getSentSignature()static SignatureSSU2Util.sign(I2PAppContext ctx, byte[] prologue, Hash h, Hash h2, byte[] data, int datalen, SigningPrivateKey spk) Sign the relay or peer test data, using the prologue and hash as the initial data, and then the provided data. -
Uses of Signature in net.i2p.util
Methods in net.i2p.util that return SignatureModifier and TypeMethodDescriptionByteArrayStream.sign(SigningPrivateKey signingKey) Sign the written dataByteArrayStream.sign(I2PAppContext ctx, SigningPrivateKey signingKey) Sign the written dataMethods in net.i2p.util with parameters of type SignatureModifier and TypeMethodDescriptionbooleanByteArrayStream.verifySignature(Signature signature, SigningPublicKey verifyingKey) Verify the written databooleanByteArrayStream.verifySignature(I2PAppContext ctx, Signature signature, SigningPublicKey verifyingKey) Verify the written data