Class LeaseSetKeys


  • public class LeaseSetKeys
    extends Object
    Wrap up the keys given to the router when a destination connects to it. Used by KeyManager, ClientMessageEventListener, GarlicMessageReceiver.
    • Constructor Detail

      • LeaseSetKeys

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