All Implemented Interfaces:
I2CPMessage

public class CreateLeaseSet2Messageextends CreateLeaseSetMessage
Like CreateLeaseSetMessage, but supports both old and new LeaseSet types, including LS2, Meta, and Encrypted. Revocation keys are not present. Multiple public/private encryption keys are possible.

For LS2: Same as CreateLeaseSetMessage, but has a netdb type before the LeaseSet. PrivateKeys are serialized after the LeaseSet, not before, so we can infer the types from the LeaseSet.

For Meta LS: PrivateKeys are not present.

  • Field Details

    • MESSAGE_TYPE

      public static final int MESSAGE_TYPE
      NOTE: Preliminary format was type 40 in 0.9.38. Format changed as of 0.9.39, changed type to 41.
      See Also:
    • _privateKeys

      private List<PrivateKey> _privateKeys
      The private keys, when the lease set is built from more than one.
  • Constructor Details

    • CreateLeaseSet2Message

      public CreateLeaseSet2Message()
      CreateLeaseSet2Message.
  • Method Details