Packages that use EncType
Package
Description
Provides classes for communicating via the Noise protocol.
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. Core cryptographic primitives used throughout I2P: symmetric ciphers (AES, ChaCha20), hashes (SHA-1, SHA-256, SHA-384, SHA-512), HMAC and HKDF key derivation, the ElGamal and DSA/EdDSA/RedDSA engines, key and certificate utilities, and the entropy harvester.
X25519 elliptic curve Diffie-Hellman key exchange (RFC 7748), wrapping Noise's Curve25519 operations with Java Security API parameter specifications.
Common data structures used by the I2P protocols: Destination, LeaseSet, PublicKey, Signature, Certificate and their friends.
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).
The I2P router application handles I2P network communication.
Post-quantum hybrid key encapsulation built on the bundled Bouncy Castle ML-KEM primitives.
The Double Ratchet with X25519 key agreement and ECIES hybrid encryption, used by the NTCP2 and SSU transports for session encryption.
The I2P startup package loads configuration when I2P is started.
Helpers and handlers for the router console user interface, packaged in routerconsole.war and accessible only from JSP files.
Uses of EncType in com.southernstorm.noise.protocol
Fields in com.southernstorm.noise.protocol declared as EncTypeUses of EncType in net.i2p.client.impl
Constructor parameters in net.i2p.client.impl with type arguments of type EncTypeModifierConstructorDescriptionLeaseInfo(Destination dest, List<EncType> types, boolean isLS2) New keys.Uses of EncType in net.i2p.crypto
Subclasses with type arguments of type EncType in net.i2p.cryptoModifier and TypeClassDescriptionenumDefines the properties for various encryption types that I2P supports or may someday support.Fields in net.i2p.crypto declared as EncTypeModifier and TypeFieldDescriptionprivate static final EncType[]EncType.BY_CODEThe types indexed by their code.Methods in net.i2p.crypto that return EncTypeModifier and TypeMethodDescriptionstatic EncTypeEncType.getByCode(int code) Encryption type by code.static EncTypeEncType.parseEncType(String stype) Convenience for user apps.static EncTypeReturns the enum constant of this class with the specified name.static EncType[]EncType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.i2p.crypto with parameters of type EncTypeUses of EncType in net.i2p.crypto.x25519
Fields in net.i2p.crypto.x25519 declared as EncTypeUses of EncType in net.i2p.data
Fields in net.i2p.data declared as EncTypeModifier and TypeFieldDescriptionprivate final EncTypePrivateKey._typeThe encryption type of this key.private final EncTypePublicKey._typeThe encryption type of this key.private static final EncTypePrivateKey.DEF_TYPEType assumed when a key names none.private static final EncTypePublicKey.DEF_TYPEType assumed when a key names none.Methods in net.i2p.data that return EncTypeModifier and TypeMethodDescriptionKeyCertificate.getEncType()Gets the encryption type from the certificate.KeysAndCert.getEncType()Encryption type from the certificate.PrivateKey.getType()Encryption type of this private key.PublicKey.getType()Encryption type of this public key.Methods in net.i2p.data with parameters of type EncTypeModifier and TypeMethodDescriptionprivate DestinationPrivateKeyFile.createIfAbsent(SigType type, EncType ptype) Create with the specified signature and encryption types if nonexistent.Method parameters in net.i2p.data with type arguments of type EncTypeModifier and TypeMethodDescriptionEncryptedLeaseSet.getEncryptionKey(Set<EncType> supported) If more than one key, return the first supported one.LeaseSet.getEncryptionKey(Set<EncType> supported) If more than one key, return the first supported one.LeaseSet2.getEncryptionKey(Set<EncType> supported) If more than one key, return the first supported one.Constructors in net.i2p.data with parameters of type EncTypeModifierConstructorDescriptionKeyCertificate(SigType type, EncType etype) A KeyCertificate with crypto type and the signature type as specified.PrivateKey(EncType type) Constructor with type.PrivateKey(EncType type, byte[] data) Constructor with type and data.PrivateKey(EncType type, byte[] data, PublicKey pubKey) Constructor with type, data, and cached public key.New public key with the given encryption type.New public key with the given encryption type and raw key data.Uses of EncType in net.i2p.data.i2cp
Methods in net.i2p.data.i2cp that return EncTypeModifier and TypeMethodDescriptionprivate static EncTypeCreateLeaseSetMessage.pkTypeForLen(int len) Map a known encryption private key length to its most likely type.Uses of EncType in net.i2p.router
Fields in net.i2p.router with type parameters of type EncTypeModifier and TypeFieldDescriptionLeaseSetKeys.SET_BOTHUnmodifiable, ElGamal and ECIES-X25519.LeaseSetKeys.SET_ECUnmodifiable, ECIES-X25519 only.LeaseSetKeys.SET_EC_PQ_ALLUnmodifiable, ECIES-X25519 and PQ only.LeaseSetKeys.SET_EC_PQ1Unmodifiable, ECIES-X25519 and PQ only.LeaseSetKeys.SET_EC_PQ2Unmodifiable, ECIES-X25519 and PQ only.LeaseSetKeys.SET_EC_PQ3Unmodifiable, ECIES-X25519 and PQ only.LeaseSetKeys.SET_ELGUnmodifiable, ElGamal only.LeaseSetKeys.SET_NONEThe empty set, for a lease set that accepts nothing.LeaseSetKeys.SET_PQ1Unmodifiable, PQ only.LeaseSetKeys.SET_PQ2Unmodifiable, PQ only.LeaseSetKeys.SET_PQ3Unmodifiable, PQ only.Methods in net.i2p.router that return types with arguments of type EncTypeModifier and TypeMethodDescriptionLeaseSetKeys.getSupportedEncryption()The types of encryption supported by this LeaseSet.Methods in net.i2p.router with parameters of type EncTypeModifier and TypeMethodDescriptionLeaseSetKeys.getDecryptionKey(EncType type) Decryption key which can open up garlic messages encrypted to the LeaseSet's public key.booleanLeaseSetKeys.isSupported(EncType type) Do we support this type of encryption?Uses of EncType in net.i2p.router.crypto.pqc
Fields in net.i2p.router.crypto.pqc declared as EncTypeModifier and TypeFieldDescriptionprivate final EncTypeMLKEMKeyFactory._typeThe ML-KEM parameter set generated.private final EncTypeMLKEM.MLKEMFactory.tThe ML-KEM variant this factory handles.Methods in net.i2p.router.crypto.pqc with parameters of type EncTypeModifier and TypeMethodDescriptionstatic byte[]Alice side.static byte[][]Bob side.static byte[][]MLKEM.generateKeys(EncType type) Alice side, raw key generation.static KeyPairAlice side, key generation.private static MLKEMParametersEncType to ML-KEM parameters.Constructors in net.i2p.router.crypto.pqc with parameters of type EncTypeModifierConstructorDescriptionMLKEMFactory(EncType type) Names the variant the factory handles.MLKEMKeyFactory(I2PAppContext ctx, EncType type) Alice side only.Uses of EncType in net.i2p.router.crypto.ratchet
Fields in net.i2p.router.crypto.ratchet declared as EncTypeModifier and TypeFieldDescriptionprivate final EncTypeRatchetSKM._typeThe encryption type these sessions use.Methods in net.i2p.router.crypto.ratchet that return EncTypeModifier and TypeMethodDescriptionRatchetSKM.getType()The encryption type for this session key manager.Methods in net.i2p.router.crypto.ratchet that return types with arguments of type EncTypeModifier and TypeMethodDescriptionECIESAEADEngine.getEncTypeSet(EncType type) The lease set key types that go with the given encryption type.Methods in net.i2p.router.crypto.ratchet with parameters of type EncTypeModifier and TypeMethodDescriptionprivate static voidVerify the encryption type is supported by this engine.ECIESAEADEngine.getEncTypeSet(EncType type) The lease set key types that go with the given encryption type.ECIESAEADEngine.getHybridKeyFactory(EncType type) The hybrid key factory for the given encryption type, or null if not a hybrid type.private static intECIESAEADEngine.getMinNSRSize(EncType type) The minimum New Session Reply message size for the given encryption type.private static intECIESAEADEngine.getMinNSSize(EncType type) The minimum New Session message size for the given encryption type.private static intMuxedPQEngine.getMinNSSize(EncType type) The minimum new session size for the given encryption type.private static NoiseInit.PatternIDECIESAEADEngine.getNoisePattern(EncType type) The Noise handshake pattern for the given encryption type.Constructors in net.i2p.router.crypto.ratchet with parameters of type EncTypeModifierConstructorDescriptionRatchetSKM(RouterContext context, Destination dest, EncType type) The session key manager is constructed and accessed through the client manager.Uses of EncType in net.i2p.router.startup
Fields in net.i2p.router.startup declared as EncTypeModifier and TypeFieldDescriptionprivate static final EncTypeCreateRouterInfoJob.DEFAULT_ENCTYPEEncryption type chosen for a new router.Methods in net.i2p.router.startup that return EncTypeModifier and TypeMethodDescriptionstatic EncTypeCreateRouterInfoJob.getEncTypeConfig(RouterContext ctx) The configured EncType to expect on read-in.Uses of EncType in net.i2p.router.web.helpers
Fields in net.i2p.router.web.helpers declared as EncTypeMethods in net.i2p.router.web.helpers with parameters of type EncTypeModifier and TypeMethodDescriptionvoidNetDbRenderer.renderRouterInfoHTML(Writer out, int pageSize, int page, String routerPrefix, String version, String country, String family, String capabilities, String ipAddress, String sybil, int port, int highPort, SigType signatureType, EncType encryptionType, String mtu, String ipv6Address, String ssuCapabilities, String transport, int cost, int introducerCount) Renders router information matching search criteria to the given writer.private voidNetDbRenderer.writeNoResults(StringBuilder buf, String routerPrefix, String version, String country, String family, String capabilities, String ipAddress, int port, int highPort, String mtu, String ipv6Address, String ssuCapabilities, int cost, SigType signatureType, EncType encryptionType, String transport) Writes a message indicating no routers matched the search criteria.