package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Class Tls_connection.tls_connection

inherit Ocgtk_gio__.GIo_stream.io_stream_t
method on_accept_certificate : ?after:bool -> callback: (peer_cert:Ocgtk_gio__.GTls_certificate.tls_certificate_t -> errors:Ocgtk_gio__.Gio_enums.tlscertificateflags -> bool) -> unit -> Gobject.Signal.handler_id
method emit_accept_certificate : Ocgtk_gio__.GTls_certificate.tls_certificate_t -> Ocgtk_gio__.Gio_enums.tlscertificateflags -> bool
method get_certificate : unit -> Ocgtk_gio__.GTls_certificate.tls_certificate_t option
method get_ciphersuite_name : unit -> string option
method get_database : unit -> Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_database_t option
method get_interaction : unit -> Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_interaction_t option
method get_negotiated_protocol : unit -> string option
method get_peer_certificate : unit -> Ocgtk_gio__.GTls_certificate.tls_certificate_t option
method get_peer_certificate_errors : unit -> Ocgtk_gio__.Gio_enums.tlscertificateflags
method get_protocol_version : unit -> Ocgtk_gio__.Gio_enums.tlsprotocolversion
method get_rehandshake_mode : unit -> Ocgtk_gio__.Gio_enums.tlsrehandshakemode
method get_require_close_notify : unit -> bool
method get_use_system_certdb : unit -> bool
method handshake : Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method handshake_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method set_advertised_protocols : string array option -> unit
method set_certificate : Ocgtk_gio__.GTls_certificate.tls_certificate_t -> unit
method set_database : Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_database_t option -> unit
method set_interaction : Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_interaction_t option -> unit
method set_rehandshake_mode : Ocgtk_gio__.Gio_enums.tlsrehandshakemode -> unit
method set_require_close_notify : bool -> unit
method set_use_system_certdb : bool -> unit
method base_io_stream : Ocgtk_gio__.GIo_stream.io_stream_t
method as_tls_connection : Ocgtk_gio__.Tls_connection_and__tls_database_and__tls_interaction.Tls_connection.t