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