net.i2p.router
Class LeaseSetKeys

java.lang.Object
  extended by 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
LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaseSetKeys

public LeaseSetKeys(Destination dest,
                    SigningPrivateKey revocationKey,
                    PrivateKey decryptionKey)
Parameters:
dest - unused
revocationKey - unused
decryptionKey - 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.