java.lang.Object
net.i2p.router.startup.LoadRouterInfoJob.KeyData
Enclosing class:
LoadRouterInfoJob

public static class LoadRouterInfoJob.KeyDataextends Object
Key data container for router information.
  • Field Details

    • routerIdentity

      public final RouterIdentity routerIdentity
      Router identity of this router.
    • privateKey

      public final PrivateKey privateKey
      ElGamal private key for this router.
    • signingPrivateKey

      public final SigningPrivateKey signingPrivateKey
      Signing private key for this router.
  • Constructor Details

    • KeyData

      public KeyData(RouterIdentity ri, PrivateKey pk, SigningPrivateKey spk)
      Pairs a router identity with the private keys that match it.
      Parameters:
      ri - the identity whose public keys these private keys belong to
      pk - the private key matching the identity's encryption public key
      spk - the signing private key matching the identity's signing public key