of

@JvmStatic
fun of(publicKey: AddressKey.Public, privateKey: AddressKey.Private?, clientAuth: Set<AuthKey.Public>): HiddenServiceEntry(source)

Creates a new HiddenServiceEntry for provided key(s).

Throws

if key algorithms do not match.