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 - KeyPair!: the server long term key pair

networkIdentifier - Bytes32!: the network identifier

Return
SecureScuttlebuttHandshakeServer!: the handshake server