Package net.i2p.data

These classes define the common data structures used by the various I2P protocols.

See:
          Description

Interface Summary
DataStructure Defines the class as a standard object with particular bit representation, exposing methods to read and write that representation.
 

Class Summary
Address ???????? deprecated unused except by naming/FilesystemAddressDB, which is unused.
Base32 Encodes and decodes to and from Base32 notation.
Base64 Encodes and decodes to and from Base64 notation.
ByteArray Wrap up an array of bytes so that they can be compared and placed in hashes, maps, and the like.
Certificate Defines a certificate that can be attached to various I2P structures, such as RouterIdentity and Destination, allowing routers and clients to help manage denial of service attacks and the network utilization.
DatabaseEntry Base implementation of common methods for the two data structures that are stored in the netDb, i.e.
DataHelper Defines some simple IO routines for dealing with marshalling data structures
DataStructureImpl Base implementation of all data structures
DateAndFlags A six-byte Date and 2 bytes of flags, since a Date won't encroach on the top two bytes until the year 10889.
Destination Defines an end point in the I2P network.
Hash Defines the hash as defined by the I2P data structure spec.
KeysAndCert KeysAndCert has a public key, a signing key, and a certificate.
Lease Defines the proof that a particular router / tunnel is allowed to receive messages for a particular Destination during some period of time.
LeaseSet Defines the set of leases a destination currently has.
Payload Defines the actual payload of a message being delivered, including the standard encryption wrapping, as defined by the I2P data structure spec.
PrivateKey Defines the PrivateKey as defined by the I2P data structure spec.
PrivateKeyFile This helper class reads and writes files in the same "eepPriv.dat" format used by the client code.
PublicKey Defines the PublicKey as defined by the I2P data structure spec.
RouterAddress Defines a method of communicating with a router
RouterIdentity Defines the unique identifier of a router, including any certificate or public key.
RouterInfo Defines the data that a router either publishes to the global routing table or provides to trusted peers.
RoutingKeyGenerator Component to manage the munging of hashes into routing keys - given a hash, perform some consistent transformation against it and return the result.
SDSCache<V extends SimpleDataStructure> A least recently used cache with a max size, for SimpleDataStructures.
SessionKey Defines the SessionKey as defined by the I2P data structure spec.
SessionTag 32 bytes, usually of random data.
Signature Defines the signature as defined by the I2P data structure spec.
SigningPrivateKey Defines the SigningPrivateKey as defined by the I2P data structure spec.
SigningPublicKey Defines the SigningPublicKey as defined by the I2P data structure spec.
SimpleDataStructure A SimpleDataStructure contains only a single fixed-length byte array.
TunnelId Defines the tunnel ID that messages are passed through on a set of routers.
VerifiedDestination Extend Destination with methods to verify its Certificate.
 

Exception Summary
DataFormatException Thrown when the data was not available to read or write a DataStructure
 

Package net.i2p.data Description

These classes define the common data structures used by the various I2P protocols.