## Uses of Class
net.i2p.data.PrivateKey

Packages that use PrivateKey
net.i2p.client: 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.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: The Invisible Internet Network Protocol (I2NP) is only a part of how an application can send messages over the network.
net.i2p.router: The I2P router application handles the I2P network communication.
net.i2p.router.client
net.i2p.router.message
net.i2p.router.tunnel

Uses of PrivateKey in net.i2p.client

Methods in net.i2p.client that return PrivateKey
`PrivateKey` `I2PSessionImpl.getDecryptionKey()` Retrieve the decryption PrivateKey
`PrivateKey` `I2PSession.getDecryptionKey()` Retrieve the decryption PrivateKey associated with the Destination

Methods in net.i2p.client with parameters of type PrivateKey
`void` `I2CPMessageProducer.createLeaseSet(I2PSessionImpl session, LeaseSet leaseSet, SigningPrivateKey signingPriv, PrivateKey priv)` Create a new signed leaseSet in response to a request to do so and send it to the router

Uses of PrivateKey in net.i2p.crypto

Methods in net.i2p.crypto with parameters of type PrivateKey
`byte[]` `ElGamalAESEngine.decrypt(byte[] data, PrivateKey targetPrivateKey)` Deprecated. specify the key manager!
`byte[]` `ElGamalEngine.decrypt(byte[] encrypted, PrivateKey privateKey)` Decrypt the data
`byte[]` `DummyElGamalEngine.decrypt(byte[] encrypted, PrivateKey privateKey)` Decrypt the data
`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.
`static PublicKey` `KeyGenerator.getPublicKey(PrivateKey priv)` Convert a PrivateKey to its corresponding PublicKey

Uses of PrivateKey in net.i2p.data

Methods in net.i2p.data that return PrivateKey
`PrivateKey` `PrivateKeyFile.getPrivKey()`

Uses of PrivateKey in net.i2p.data.i2cp

Methods in net.i2p.data.i2cp that return PrivateKey
`PrivateKey` `CreateLeaseSetMessage.getPrivateKey()`

Methods in net.i2p.data.i2cp with parameters of type PrivateKey
`void` `CreateLeaseSetMessage.setPrivateKey(PrivateKey privateKey)`

Uses of PrivateKey in net.i2p.data.i2np

Methods in net.i2p.data.i2np with parameters of type PrivateKey
`boolean` `BuildRequestRecord.decryptRecord(I2PAppContext ctx, PrivateKey ourKey, Hash ourIdent, ByteArray encryptedRecord)` Decrypt the data from the specified record, writing the decrypted record into this instance's buffer (but not overwriting the array contained within the old buffer)

Uses of PrivateKey in net.i2p.router

Methods in net.i2p.router that return PrivateKey
`PrivateKey` `LeaseSetKeys.getDecryptionKey()` Decryption key which can open up garlic messages encrypted to the LeaseSet's public key.
`PrivateKey` `KeyManager.getPrivateKey()`

Methods in net.i2p.router with parameters of type PrivateKey
`void` `KeyManager.registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, PrivateKey endpointDecryptionKey)`
`void` `KeyManager.setPrivateKey(PrivateKey key)` Configure the router's private key

Constructors in net.i2p.router with parameters of type PrivateKey
`LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)`

Uses of PrivateKey in net.i2p.router.client

Methods in net.i2p.router.client that return PrivateKey
`PrivateKey` `LeaseRequestState.getPrivateKey()` the private encryption key received regarding the lease set

Methods in net.i2p.router.client with parameters of type PrivateKey
`void` `LeaseRequestState.getPrivateKey(PrivateKey pk)`

Uses of PrivateKey in net.i2p.router.message

Methods in net.i2p.router.message with parameters of type PrivateKey
`CloveSet` `GarlicMessageParser.getGarlicCloves(GarlicMessage message, PrivateKey encryptionKey, SessionKeyManager skm)`

Uses of PrivateKey in net.i2p.router.tunnel

Methods in net.i2p.router.tunnel with parameters of type PrivateKey
`BuildRequestRecord` `BuildMessageProcessor.decrypt(I2PAppContext ctx, TunnelBuildMessage msg, Hash ourHash, PrivateKey privKey)` Decrypt the record targetting us, encrypting all of the other records with the included reply key and IV.