tuweni / org.apache.tuweni.scuttlebutt.handshake / SecureScuttlebuttHandshakeServer / create

create

static fun create(ourKeyPair: KeyPair, networkIdentifier: Bytes32): SecureScuttlebuttHandshakeServer (source)

Creates a new handshake server able to reply to the request of one client

Parameters

ourKeyPair - the server long term key pair

networkIdentifier - the network identifier

Return
the handshake server