static fun readResponse(response: Bytes, privateKey: SecretKey): HandshakeMessage
Decrypts the handshake response using our private key.
response - the raw response bytes
response
privateKey - our private key
privateKey
Return a decrypted handshake response message