Uses of Class
net.i2p.data.SimpleDataStructure
Package
Description
These classes provide a number of low-level cryptographic routines.
These classes define the common data structures used by the various
I2P protocols.
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
This is a major rewrite of KBucket, KBucketSet, and KBucketImpl from net.i2p.router.networkdb.kademlia.
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144).
The network database, including implementation of floodfills.
-
Uses of SimpleDataStructure in net.i2p.crypto
Modifier and TypeClassDescriptionclass
48 byte hashclass
64 byte hash(package private) final class
A SigningPrivateKey that retains the Chinese Remainder Theorem parameters, so it can be converted back to a Java CRT key.class
Because DSAEngine was abusing Hash for 20-byte hashesModifier and TypeMethodDescriptionKeyGenerator.generatePKIKeys()
ElGamal only.KeyGenerator.generateSigningKeys()
DSA-SHA1 only.KeyGenerator.generateSigningKeys
(SigType type) Generic signature type, supports DSA, RSA, ECDSA, EdDSASigType.getHashInstance()
Modifier and TypeMethodDescriptionDSAEngine.sign
(SimpleDataStructure hash, PrivateKey privKey, SigType type) Generic signature type.DSAEngine.sign
(SimpleDataStructure hash, SigningPrivateKey signingKey) Generic signature type.boolean
DSAEngine.verifySignature
(Signature signature, SimpleDataStructure hash, PublicKey pubKey) Generic signature type.boolean
DSAEngine.verifySignature
(Signature signature, SimpleDataStructure hash, SigningPublicKey verifyingKey) Generic signature type. -
Uses of SimpleDataStructure in net.i2p.data
Modifier and TypeClassDescriptionclass
SDSCache<V extends SimpleDataStructure>
A least recently used cache with a max size, for SimpleDataStructures.Modifier and TypeClassDescriptionclass
Defines the hash as defined by the I2P data structure spec.class
Defines the PrivateKey as defined by the I2P data structure spec.class
Defines the PublicKey as defined by the I2P data structure spec.class
Defines the SessionKey as defined by the I2P data structure spec.class
Defines the signature as defined by the I2P data structure spec.class
Defines the SigningPrivateKey as defined by the I2P data structure spec.class
Defines the SigningPublicKey as defined by the I2P data structure spec.Modifier and TypeMethodDescriptionvoid
EncryptedLeaseSet.encrypt
(int authType, List<? extends SimpleDataStructure> clientKeys) Throws IllegalStateException if not initialized.void
EncryptedLeaseSet.sign
(SigningPrivateKey key, int authType, List<? extends SimpleDataStructure> clientKeys) Sign the structure using the supplied signing key. -
Uses of SimpleDataStructure in net.i2p.data.i2np
Modifier and TypeClassDescriptionclass
ElGamal-encrypted request or response.class
Small records. -
Uses of SimpleDataStructure in net.i2p.kademlia
Modifier and TypeInterfaceDescriptioninterface
KBucket<T extends SimpleDataStructure>
Group, without inherent ordering, a set of keys a certain distance away from a local key, using XOR as the distance metric Refactored from net.i2p.router.networkdb.kademlia(package private) class
KBucketImpl<T extends SimpleDataStructure>
A concurrent implementation using ConcurrentHashSet.class
KBucketSet<T extends SimpleDataStructure>
In-memory storage of buckets sorted by the XOR metric from the base (us) passed in via the constructor.interface
KBucketTrimmer<K extends SimpleDataStructure>
Called when a kbucket can no longer be split and is too bigclass
RandomIfOldTrimmer<T extends SimpleDataStructure>
Removes a random element, but only if the bucket hasn't changed in 5 minutes.class
RandomTrimmer<T extends SimpleDataStructure>
Removes a random element.class
RejectTrimmer<T extends SimpleDataStructure>
Removes nothing and always rejects the add.interface
SelectionCollector<T extends SimpleDataStructure>
Visit kbuckets, gathering matchesclass
XORComparator<T extends SimpleDataStructure>
Help sort Hashes in relation to a base key using the XOR metric -
Uses of SimpleDataStructure in net.i2p.router.crypto.ratchet
Modifier and TypeClassDescription(package private) class
A X25519 key and key ID.(package private) class
A session key is 32 bytes of data. -
Uses of SimpleDataStructure in net.i2p.router.networkdb.kademlia
Modifier and TypeClassDescription(package private) class
Pull the caching used only by KBucketImpl out of Hash and put it here. -
Uses of SimpleDataStructure in org.klomp.snark.dht
Modifier and TypeClassDescription(package private) class
A 20-byte SHA1 info hashclass
A 20-byte peer ID, used as a Map key in lots of places.(package private) class
(package private) class
A single peer for a single torrent.(package private) class
Used to index incoming Tokens