Package net.i2p.router.crypto.ratchet
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144). Since 0.9.44. Subject to change, not a public API, not for external use.
-
Interface Summary Interface Description RatchetPayload.PayloadCallback For all callbacks, recommend throwing exceptions only from the handshake.SessionTagListener Something that looks for SessionTags. -
Class Summary Class Description ArrayUtils ArrayUtils contains some methods that you can call to find out the most efficient increments by which to grow arrays.ContainerHelpers ECIESAEADEngine Handles the actual ECIES+AEAD encryption and decryption scenarios using the supplied keys and data.Elg2KeyFactory Elligator2 for X25519 keys.Elg2KeyPair X25519 keys, with the public key Elligator2 encoding pre-calculatedElligator2 Elligator2 for X25519 keys.GrowingArrayUtils A helper class that aims to provide comparable growth performance to ArrayList, but on primitive arrays.MuxedEngine Handles the actual decryption using the supplied keys and data.MuxedSKM Both.NextSessionKey A session key and key ID.RatchetEntry Simple object with outbound tag, key, and nonce, and an optional next key.RatchetPayload Ratchet payload generation and parsingRatchetPayload.Block Base class for blocks to be transmitted.RatchetPayload.DateTimeBlock RatchetPayload.GarlicBlock RatchetPayload.NextKeyBlock RatchetPayload.OptionsBlock RatchetPayload.PaddingBlock RatchetPayload.TerminationBlock RatchetSessionTag 8 bytes, usually of random data.RatchetSKM RatchetTagSet A tagset class for one direction, either inbound or outbound.SessionKeyAndNonce A session key is 32 bytes of data.SparseArray<E> SparseArray
maps integers to Objects and, unlike a normal array of Objects, its indices can contain gaps.