DtlsPeer.shutdown

TlsProgress shutdown()

Initiates graceful shutdown (sends close_notify).

Returns

TlsProgress indicating completion or I/O needs.