@Test void invalidPort() { assertThrows( IllegalArgumentException.class, () -> new Invite("localhost", -1, Identity.random(), Signature.KeyPair.random().secretKey())); }
public Signature.SecretKey secretKey() { return secretKey; }
Invite { public Signature.SecretKey secretKey() { return secretKey; } }
Invite { public Signature.SecretKey secretKey() { return secretKey; } Invite(String host, int port, Identity identity, Signature.SecretKey secretKey); }
Invite { public Signature.SecretKey secretKey() { return secretKey; } Invite(String host, int port, Identity identity, Signature.SecretKey secretKey); String host(); int port(); Identity identity(); Signature.SecretKey secretKey(); String toCanonicalForm(); @Override String toString(); }
Invite { public Signature.SecretKey secretKey() { return secretKey; } Invite(String host, int port, Identity identity, Signature.SecretKey secretKey); String host(); int port(); Identity identity(); Signature.SecretKey secretKey(); String toCanonicalForm(); @Override String toString();  }