A few extensions to the ocaml-ssl library Ssl
Corresponds to SSL_shutdown: Closes one half of the SSL connection. If called for the first time, a "close notify" alert is sent to the peer. If called for the second time, it is waited until the peer's "close notify" alert arrives.
Use get_shutdown
to check what single_shutdown
will do.
Returns the fingerprint in the cert in ':'-separated hex notation