Uses of Class
net.i2p.data.PrivateKey
| Package | Description |
|---|---|
| net.i2p.client |
Interfaces and factories for
the base I2P SDK used to develop applications that communicate
through I2P.
|
| net.i2p.client.impl |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
| net.i2p.crypto |
These classes provide a number of low-level cryptographic routines.
|
| net.i2p.crypto.x25519 |
DH for X25519.
|
| net.i2p.data |
These classes define the common data structures used by the various
I2P protocols.
|
| net.i2p.data.i2cp |
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to
the I2P network without requiring them to deal with the issues involved with the
Invisible Internet Network Protocol (I2NP).
|
| net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
| net.i2p.router |
The I2P router application handles the I2P network communication.
|
| net.i2p.router.crypto |
Classes formerly in net.i2p.crypto but moved here as they are only used by the router.
|
| net.i2p.router.crypto.ratchet |
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144).
|
| net.i2p.router.message |
Creates and parses garlic messages.
|
| net.i2p.router.startup |
The I2P startup package loads the configuration when I2P is started.
|
| net.i2p.router.tunnel.pool |
Tunnel creation, tunnel build message handling.
|
-
Uses of PrivateKey in net.i2p.client
Methods in net.i2p.client that return PrivateKey Modifier and Type Method Description PrivateKeyI2PSession. getDecryptionKey()Retrieve the decryption PrivateKey associated with the Destination -
Uses of PrivateKey in net.i2p.client.impl
Methods in net.i2p.client.impl that return PrivateKey Modifier and Type Method Description PrivateKeyI2PSessionImpl. getDecryptionKey()Retrieve the decryption PrivateKeyMethod parameters in net.i2p.client.impl with type arguments of type PrivateKey Modifier and Type Method Description voidI2CPMessageProducer. createLeaseSet(I2PSessionImpl session, LeaseSet leaseSet, SigningPrivateKey signingPriv, List<PrivateKey> privs)In response to a RequestLeaseSet Message from the router, send a CreateLeaseset Message back to the router. -
Uses of PrivateKey in net.i2p.crypto
Methods in net.i2p.crypto that return PrivateKey Modifier and Type Method Description PrivateKeyKeyPair. getPrivate()Methods in net.i2p.crypto with parameters of type PrivateKey Modifier and Type Method Description byte[]ElGamalEngine. decrypt(byte[] encrypted, PrivateKey privateKey)Decrypt the datastatic PublicKeyKeyGenerator. getPublicKey(PrivateKey priv)Convert a PrivateKey to its corresponding PublicKey.Constructors in net.i2p.crypto with parameters of type PrivateKey Constructor Description KeyPair(PublicKey publicKey, PrivateKey privateKey) -
Uses of PrivateKey in net.i2p.crypto.x25519
Methods in net.i2p.crypto.x25519 with parameters of type PrivateKey Modifier and Type Method Description static SessionKeyX25519DH. dh(PrivateKey priv, PublicKey pub)DH -
Uses of PrivateKey in net.i2p.data
Fields in net.i2p.data declared as PrivateKey Modifier and Type Field Description protected PrivateKeyPrivateKeyFile. privKeyMethods in net.i2p.data that return PrivateKey Modifier and Type Method Description PrivateKeyBlindData. getAuthPrivKey()PrivateKeyPrivateKeyFile. getPrivKey()Methods in net.i2p.data with parameters of type PrivateKey Modifier and Type Method Description voidEncryptedLeaseSet. setClientPrivateKey(PrivateKey privKey)Must be set before verify for per-client auth.booleanEncryptedLeaseSet. verifySignature(PrivateKey clientKey)Decrypt if possible, and verify inner sig also.Constructors in net.i2p.data with parameters of type PrivateKey Constructor Description BlindData(I2PAppContext ctx, Destination dest, SigType blindType, String secret, int authType, PrivateKey authKey)BlindData(I2PAppContext ctx, SigningPublicKey spk, SigType blindType, String secret, int authType, PrivateKey authKey)PrivateKeyFile(File file, Destination dest, PrivateKey pk, SigningPrivateKey spk)PrivateKeyFile(File file, PublicKey pubkey, SigningPublicKey spubkey, Certificate cert, PrivateKey pk, SigningPrivateKey spk)PrivateKeyFile(File file, PublicKey pubkey, SigningPublicKey spubkey, Certificate cert, PrivateKey pk, SigningPrivateKey spk, byte[] padding) -
Uses of PrivateKey in net.i2p.data.i2cp
Fields in net.i2p.data.i2cp declared as PrivateKey Modifier and Type Field Description protected PrivateKeyCreateLeaseSetMessage. _privateKeyMethods in net.i2p.data.i2cp that return PrivateKey Modifier and Type Method Description PrivateKeyBlindingInfoMessage. getPrivateKey()PrivateKeyCreateLeaseSetMessage. getPrivateKey()Methods in net.i2p.data.i2cp that return types with arguments of type PrivateKey Modifier and Type Method Description List<PrivateKey>CreateLeaseSet2Message. getPrivateKeys()This returns all the keys.Methods in net.i2p.data.i2cp with parameters of type PrivateKey Modifier and Type Method Description voidCreateLeaseSet2Message. addPrivateKey(PrivateKey key)Add a private key.voidCreateLeaseSetMessage. setPrivateKey(PrivateKey privateKey)Constructors in net.i2p.data.i2cp with parameters of type PrivateKey Constructor Description BlindingInfoMessage(String h, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret)Deprecated.unimplemented on router sideBlindingInfoMessage(Destination d, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret)BlindingInfoMessage(Hash h, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret)Deprecated.unimplemented on router sideBlindingInfoMessage(SigningPublicKey s, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret) -
Uses of PrivateKey in net.i2p.data.i2np
Constructors in net.i2p.data.i2np with parameters of type PrivateKey Constructor Description BuildRequestRecord(RouterContext ctx, PrivateKey ourKey, EncryptedBuildRecord encryptedRecord)Decrypt the data from the specified record, writing the decrypted record into this instance's data buffer Caller MUST check that first 16 bytes of our hash matches first 16 bytes of encryptedRecord before calling this. -
Uses of PrivateKey in net.i2p.router
Methods in net.i2p.router that return PrivateKey Modifier and Type Method Description PrivateKeyLeaseSetKeys. getDecryptionKey()Decryption key which can open up garlic messages encrypted to the LeaseSet's public key.PrivateKeyLeaseSetKeys. getDecryptionKey(EncType type)Decryption key which can open up garlic messages encrypted to the LeaseSet's public key.PrivateKeyKeyManager. getPrivateKey()Router keyMethods in net.i2p.router with parameters of type PrivateKey Modifier and Type Method Description voidKeyManager. registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, PrivateKey endpointDecryptionKey)Client with a single keyvoidKeyManager. setKeys(PublicKey key1, PrivateKey key2, SigningPublicKey key3, SigningPrivateKey key4)Configure the router's keys.Method parameters in net.i2p.router with type arguments of type PrivateKey Modifier and Type Method Description voidKeyManager. registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, List<PrivateKey> endpointDecryptionKeys)Client with multiple keysConstructors in net.i2p.router with parameters of type PrivateKey Constructor Description LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)Client with a single keyConstructor parameters in net.i2p.router with type arguments of type PrivateKey Constructor Description LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, List<PrivateKey> decryptionKeys)Client with multiple keys -
Uses of PrivateKey in net.i2p.router.crypto
Methods in net.i2p.router.crypto with parameters of type PrivateKey Modifier and Type Method Description byte[]ElGamalAESEngine. decrypt(byte[] data, PrivateKey targetPrivateKey)Deprecated.specify the key manager!byte[]ElGamalAESEngine. decrypt(byte[] data, PrivateKey targetPrivateKey, SessionKeyManager keyManager)Decrypt the message using the given private key and using tags from the specified key manager.byte[]ElGamalAESEngine. decryptFast(byte[] data, PrivateKey targetPrivateKey, SessionKeyManager keyManager)Tags only.byte[]ElGamalAESEngine. decryptSlow(byte[] data, PrivateKey targetPrivateKey, SessionKeyManager keyManager)Full ElG only. -
Uses of PrivateKey in net.i2p.router.crypto.ratchet
Methods in net.i2p.router.crypto.ratchet that return PrivateKey Modifier and Type Method Description (package private) static PrivateKeyECIESAEADEngine. doDH(PrivateKey privkey, PublicKey pubkey)Methods in net.i2p.router.crypto.ratchet with parameters of type PrivateKey Modifier and Type Method Description CloveSetECIESAEADEngine. decrypt(byte[] data, PrivateKey elgKey, PrivateKey ecKey, MuxedSKM keyManager)Try to decrypt the message with one or both of the given private keysCloveSetECIESAEADEngine. decrypt(byte[] data, PrivateKey targetPrivateKey, RatchetSKM keyManager)Decrypt the message using the given private key and using tags from the specified key manager.CloveSetMuxedEngine. decrypt(byte[] data, PrivateKey elgKey, PrivateKey ecKey, MuxedSKM keyManager)Decrypt the message with the given private keys(package private) CloveSetECIESAEADEngine. decryptFast(byte[] data, PrivateKey targetPrivateKey, RatchetSKM keyManager)NSR/ES only.(package private) CloveSetECIESAEADEngine. decryptSlow(byte[] data, PrivateKey targetPrivateKey, RatchetSKM keyManager)NS only.(package private) static PrivateKeyECIESAEADEngine. doDH(PrivateKey privkey, PublicKey pubkey)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.Constructors in net.i2p.router.crypto.ratchet with parameters of type PrivateKey Constructor Description Elg2KeyPair(PublicKey publicKey, PrivateKey privateKey, byte[] enc) -
Uses of PrivateKey in net.i2p.router.message
Methods in net.i2p.router.message with parameters of type PrivateKey Modifier and Type Method Description (package private) CloveSetGarlicMessageParser. getGarlicCloves(GarlicMessage message, PrivateKey encryptionKey, SessionKeyManager skm)Supports both ELGAMAL_2048 and ECIES_X25519.(package private) CloveSetGarlicMessageParser. getGarlicCloves(GarlicMessage message, PrivateKey elgKey, PrivateKey ecKey, SessionKeyManager skm)Supports both ELGAMAL_2048 and ECIES_X25519. -
Uses of PrivateKey in net.i2p.router.startup
Fields in net.i2p.router.startup declared as PrivateKey Modifier and Type Field Description PrivateKeyLoadRouterInfoJob.KeyData. privateKeyConstructors in net.i2p.router.startup with parameters of type PrivateKey Constructor Description KeyData(RouterIdentity ri, PrivateKey pk, SigningPrivateKey spk) -
Uses of PrivateKey in net.i2p.router.tunnel.pool
Methods in net.i2p.router.tunnel.pool with parameters of type PrivateKey Modifier and Type Method Description BuildRequestRecordBuildMessageProcessor. decrypt(TunnelBuildMessage msg, Hash ourHash, PrivateKey privKey)Decrypt the record targeting us, encrypting all of the other records with the included reply key and IV.