Uses of Class
net.i2p.data.SimpleDataStructure
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.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
net.i2p.kademlia |
This is a major rewrite of KBucket, KBucketSet, and KBucketImpl from net.i2p.router.networkdb.kademlia.
|
net.i2p.router.crypto.ratchet |
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144).
|
net.i2p.router.networkdb.kademlia |
The network database, including implementation of floodfills.
|
org.klomp.snark.dht |
-
Uses of SimpleDataStructure in net.i2p.crypto
Subclasses of SimpleDataStructure in net.i2p.crypto Modifier and Type Class Description class
Hash384
48 byte hashclass
Hash512
64 byte hash(package private) class
RSASigningPrivateCrtKey
A SigningPrivateKey that retains the Chinese Remainder Theorem parameters, so it can be converted back to a Java CRT key.class
SHA1Hash
Because DSAEngine was abusing Hash for 20-byte hashesMethods in net.i2p.crypto that return SimpleDataStructure Modifier and Type Method Description SimpleDataStructure[]
KeyGenerator. generatePKIKeys()
Same as above but different return typeSimpleDataStructure[]
KeyGenerator. generateSigningKeys()
DSA-SHA1 only.SimpleDataStructure[]
KeyGenerator. generateSigningKeys(SigType type)
Generic signature type, supports DSA, RSA, ECDSA, EdDSASimpleDataStructure
SigType. getHashInstance()
Methods in net.i2p.crypto with parameters of type SimpleDataStructure Modifier and Type Method Description Signature
DSAEngine. sign(SimpleDataStructure hash, PrivateKey privKey, SigType type)
Generic signature type.Signature
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
Classes in net.i2p.data with type parameters of type SimpleDataStructure Modifier and Type Class Description class
SDSCache<V extends SimpleDataStructure>
A least recently used cache with a max size, for SimpleDataStructures.Subclasses of SimpleDataStructure in net.i2p.data Modifier and Type Class Description class
Hash
Defines the hash as defined by the I2P data structure spec.class
PrivateKey
Defines the PrivateKey as defined by the I2P data structure spec.class
PublicKey
Defines the PublicKey as defined by the I2P data structure spec.class
SessionKey
Defines the SessionKey as defined by the I2P data structure spec.class
Signature
Defines the signature as defined by the I2P data structure spec.class
SigningPrivateKey
Defines the SigningPrivateKey as defined by the I2P data structure spec.class
SigningPublicKey
Defines the SigningPublicKey as defined by the I2P data structure spec.Method parameters in net.i2p.data with type arguments of type SimpleDataStructure Modifier and Type Method Description void
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
Subclasses of SimpleDataStructure in net.i2p.data.i2np Modifier and Type Class Description class
EncryptedBuildRecord
ElGamal-encrypted request or response.class
ShortEncryptedBuildRecord
Small records. -
Uses of SimpleDataStructure in net.i2p.kademlia
Classes in net.i2p.kademlia with type parameters of type SimpleDataStructure Modifier and Type Interface Description interface
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
Subclasses of SimpleDataStructure in net.i2p.router.crypto.ratchet Modifier and Type Class Description (package private) class
NextSessionKey
A X25519 key and key ID.(package private) class
SessionKeyAndNonce
A session key is 32 bytes of data. -
Uses of SimpleDataStructure in net.i2p.router.networkdb.kademlia
Subclasses of SimpleDataStructure in net.i2p.router.networkdb.kademlia Modifier and Type Class Description (package private) class
LocalHash
Pull the caching used only by KBucketImpl out of Hash and put it here. -
Uses of SimpleDataStructure in org.klomp.snark.dht
Subclasses of SimpleDataStructure in org.klomp.snark.dht Modifier and Type Class Description (package private) class
InfoHash
A 20-byte SHA1 info hashclass
NID
A 20-byte peer ID, used as a Map key in lots of places.(package private) class
NodeInfo
(package private) class
Peer
A single peer for a single torrent.(package private) class
TokenKey
Used to index incoming Tokens