Package net.i2p.router
Class LeaseSetKeys
- java.lang.Object
-
- net.i2p.router.LeaseSetKeys
-
public class LeaseSetKeys extends Object
Wrap up the keys given to the router when a destination connects to it. Used only by KeyManager.
-
-
Constructor Summary
Constructors Constructor Description LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateKey
getDecryptionKey()
Decryption key which can open up garlic messages encrypted to the LeaseSet's public key.SigningPrivateKey
getRevocationKey()
Key with which a LeaseSet can be revoked (by republishing it with no Leases) Deprecated, unused
-
-
-
Constructor Detail
-
LeaseSetKeys
public LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)
- Parameters:
dest
- unusedrevocationKey
- unuseddecryptionKey
- non-null
-
-
Method Detail
-
getRevocationKey
public SigningPrivateKey getRevocationKey()
Key with which a LeaseSet can be revoked (by republishing it with no Leases) Deprecated, unused
-
getDecryptionKey
public PrivateKey getDecryptionKey()
Decryption key which can open up garlic messages encrypted to the LeaseSet's public key. This is used because the general public does not know on what router the destination is connected and as such can't encrypt to that router's normal public key.
-
-