Core of pure library. This is the interface to effectful front-ends.
some abstract type a client gets
can_handle_appdata tls
is a predicate which indicates when the connection has already completed a handshake
handshake_in_progress tls
is a predicate which indicates whether a handshake is in progress
#
protocol_version
| : Core.tls_version | ; | |||
#
ciphersuite
| : Ciphersuite.ciphersuite | ; | |||
#
peer_certificate
| : Certificate.certificate list | ; | |||
#
peer_name
| : string option | ; | |||
#
trust_anchor
| : Certificate.certificate option | ; | |||
#
own_certificate
| : Certificate.certificate list | ; | |||
#
own_private_key
| : Nocrypto.Rsa.priv option | ; | |||
#
own_name
| : string option | ; | |||
#
master_secret
| : State.master_secret | ; |