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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeaseSetKeys
public LeaseSetKeys(Destination dest,
SigningPrivateKey revocationKey,
PrivateKey decryptionKey)
- Parameters:
dest
- unusedrevocationKey
- unuseddecryptionKey
- non-null
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.