Tls13Client.handshake

TlsProgress handshake()

Performs or continues the TLS 1.3 client handshake.

This is a resumable state machine. Call repeatedly until it returns TlsProgress.DONE. Protocol errors throw exceptions; I/O blocking returns TlsProgress.NEED_READ or TlsProgress.NEED_WRITE.

Returns

Progress indicator for the current operation.