Package net.i2p.data


package net.i2p.data

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

  • Class
    Description
    Encodes and decodes to and from Base32 notation.
    Encodes and decodes to and from Base64 notation.
    Cache data for Blinding EdDSA keys.
    Wrap up an array of bytes so that they can be compared and placed in hashes, maps, and the like.
    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.
    Base implementation of common methods for the two data structures that are stored in the netDb, i.e.
    Thrown when the data was not available to read or write a DataStructure
    Defines some simple IO routines for dealing with marshalling data structures
    Defines the class as a standard object with particular bit representation, exposing methods to read and write that representation.
    Base implementation of all data structures
    A six-byte Date and 2 bytes of flags, since a Date won't encroach on the top two bytes until the year 10889.
    Defines an end point in the I2P network.
    Immutable OrderedProperties, to reduce object churn in LS2 where it's expected to be empty.
    Use getSigningKey() / setSigningKey() (revocation key in super) for the blinded key.
    Defines the hash as defined by the I2P data structure spec.
    This certificate type gets its own class because it's going to be used a lot.
    KeysAndCert has a public key, a signing key, and a certificate.
    Defines the proof that a particular router / tunnel is allowed to receive messages for a particular Destination during some period of time.
    Like Lease but with 4-byte timestamps.
    Defines the set of leases a destination currently has.
    See proposal 123
    Like a Lease, but points to another LeaseSet.
    PRELIMINARY - Subject to change - see proposal 123
    Defines the actual payload of a message being delivered, including the standard encryption wrapping, as defined by the I2P data structure spec.
    Defines the PrivateKey as defined by the I2P data structure spec.
    This helper class reads and writes files in the same "eepPriv.dat" format used by the client code.
    Defines the PublicKey as defined by the I2P data structure spec.
    Component to manage the munging of hashes into routing keys - given a hash, perform some consistent transformation against it and return the result.
    A least recently used cache with a max size, for SimpleDataStructures.
    Defines the SessionKey as defined by the I2P data structure spec.
    32 bytes, usually of random data.
    Defines the signature as defined by the I2P data structure spec.
    Defines the SigningPrivateKey as defined by the I2P data structure spec.
    Defines the SigningPublicKey as defined by the I2P data structure spec.
    A SimpleDataStructure contains only a single fixed-length byte array.
    Defines the tunnel ID that messages are passed through on a set of routers.
    Extend Destination with methods to verify its Certificate.