Uses of Class
net.i2p.data.SimpleDataStructure

Packages that use SimpleDataStructure
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.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
 class Hash384
          48 byte hash
 class Hash512
          64 byte hash
 class SHA1Hash
          Because DSAEngine was abusing Hash for 20-byte hashes
 

Methods in net.i2p.crypto that return SimpleDataStructure
 SimpleDataStructure[] KeyGenerator.generatePKIKeys()
          Same as above but different return type
 SimpleDataStructure[] KeyGenerator.generateSigningKeys()
          DSA-SHA1 only.
 SimpleDataStructure[] KeyGenerator.generateSigningKeys(SigType type)
          Generic signature type, supports DSA and ECDSA
 SimpleDataStructure SigType.getHashInstance()
           
 

Methods in net.i2p.crypto with parameters of type SimpleDataStructure
 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
 class SDSCache<V extends SimpleDataStructure>
          A least recently used cache with a max size, for SimpleDataStructures.
 

Subclasses of SimpleDataStructure in net.i2p.data
 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 SessionTag
          32 bytes, usually of random data.
 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.
 

Uses of SimpleDataStructure in net.i2p.data.i2np
 

Subclasses of SimpleDataStructure in net.i2p.data.i2np
 class EncryptedBuildRecord
          ElGamal-encrypted request or response.
 

Uses of SimpleDataStructure in net.i2p.kademlia
 

Classes in net.i2p.kademlia with type parameters of type SimpleDataStructure
 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 big
 class 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 matches
 class XORComparator<T extends SimpleDataStructure>
          Help sort Hashes in relation to a base key using the XOR metric
 

Uses of SimpleDataStructure in net.i2p.router.networkdb.kademlia
 

Subclasses of SimpleDataStructure in net.i2p.router.networkdb.kademlia
(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
(package private)  class InfoHash
          A 20-byte SHA1 info hash
 class 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