scuttlebutt-handshake / org.apache.tuweni.scuttlebutt.handshake / SecureScuttlebuttHandshakeClient / create

create

static fun create(ourKeyPair: KeyPair, networkIdentifier: Bytes32, serverLongTermPublicKey: PublicKey): SecureScuttlebuttHandshakeClient (source)

Creates a new handshake client to connect to a specific remote peer.

Parameters

ourKeyPair - our long term key pair

networkIdentifier - the network identifier

serverLongTermPublicKey - the server long term public key

Return
a new Secure Scuttlebutt handshake client