Uses of Class
net.i2p.router.message.CloveSet
Package
Description
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144).
Creates and parses garlic messages.
-
Uses of CloveSet in net.i2p.router.crypto.ratchet
Modifier and TypeMethodDescriptionECIESAEADEngine.decrypt
(byte[] data, PrivateKey elgKey, PrivateKey ecKey, MuxedSKM keyManager) Try to decrypt the message with one or both of the given private keysECIESAEADEngine.decrypt
(byte[] data, PrivateKey targetPrivateKey, RatchetSKM keyManager) Decrypt the message using the given private key and using tags from the specified key manager.MuxedEngine.decrypt
(byte[] data, PrivateKey elgKey, PrivateKey ecKey, MuxedSKM keyManager) Decrypt the message with the given private keys(package private) CloveSet
ECIESAEADEngine.decryptFast
(byte[] data, PrivateKey targetPrivateKey, RatchetSKM keyManager) NSR/ES only.(package private) CloveSet
ECIESAEADEngine.decryptSlow
(byte[] data, PrivateKey targetPrivateKey, RatchetSKM keyManager) NS only.Modifier and TypeMethodDescriptionbyte[]
Encrypt the data to the target using the given key from an anonymous source, for netdb lookups.byte[]
ECIESAEADEngine.encrypt
(CloveSet cloves, PublicKey target, Destination to, PrivateKey priv, RatchetSKM keyManager, ReplyCallback callback) Encrypt the data to the target using the given key and deliver the specified tags No new session key This is the one called from GarlicMessageBuilder and is the primary entry point.byte[]
ECIESAEADEngine.encrypt
(CloveSet cloves, SessionKey key, RatchetSessionTag tag) Create an Existing Session Message to an anonymous target using the given session key and tag, for netdb DSM/DSRM replies. -
Uses of CloveSet in net.i2p.router.message
Modifier and TypeMethodDescription(package private) CloveSet
GarlicMessageParser.getGarlicCloves
(GarlicMessage message, PrivateKey encryptionKey, SessionKeyManager skm) Supports both ELGAMAL_2048 and ECIES_X25519.(package private) CloveSet
GarlicMessageParser.getGarlicCloves
(GarlicMessage message, PrivateKey elgKey, PrivateKey ecKey, SessionKeyManager skm) Supports both ELGAMAL_2048 and ECIES_X25519.GarlicMessageParser.readCloveSet
(byte[] data, int offset) ElGamal only