package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type dh_params = [
  1. | `Generate of int
  2. | `PKCS3_DER of string
  3. | `PKCS3_PEM_file of string
]
type crt_list = [
  1. | `DER of string list
  2. | `PEM_file of string
]
type crl_list = [
  1. | `DER of string list
  2. | `PEM_file of string
]
type private_key = [
  1. | `DSA of string
  2. | `EC of string
  3. | `PEM_file of string
  4. | `PKCS8 of string
  5. | `PKCS8_encrypted of string
  6. | `RSA of string
]
val error_message : (module Netsys_crypto_types.TLS_PROVIDER) -> string -> string
val create_x509_config : ?algorithms:string -> ?dh_params:dh_params -> ?verify:((module Netsys_crypto_types.TLS_ENDPOINT) -> bool -> bool -> bool) -> ?system_trust:bool -> ?trust:crt_list list -> ?revoke:crl_list list -> ?keys:(crt_list * private_key * string option) list -> peer_auth:[ `None | `Optional | `Required ] -> (module Netsys_crypto_types.TLS_PROVIDER) -> (module Netsys_crypto_types.TLS_CONFIG)
val create_file_endpoint : ?resume:string -> role:[ `Client | `Server ] -> rd:Unix.file_descr -> wr:Unix.file_descr -> peer_name:string option -> (module Netsys_crypto_types.TLS_CONFIG) -> (module Netsys_crypto_types.FILE_TLS_ENDPOINT)
val handshake : (module Netsys_crypto_types.TLS_ENDPOINT) -> unit
val recv : ?on_rehandshake:((module Netsys_crypto_types.TLS_ENDPOINT) -> bool) -> (module Netsys_crypto_types.TLS_ENDPOINT) -> Bytes.t -> int -> int -> int
val mem_recv : ?on_rehandshake:((module Netsys_crypto_types.TLS_ENDPOINT) -> bool) -> (module Netsys_crypto_types.TLS_ENDPOINT) -> Netsys_types.memory -> int -> int -> int
val send : (module Netsys_crypto_types.TLS_ENDPOINT) -> Bytes.t -> int -> int -> int
val mem_send : (module Netsys_crypto_types.TLS_ENDPOINT) -> Netsys_types.memory -> int -> int -> int
val str_send : (module Netsys_crypto_types.TLS_ENDPOINT) -> string -> int -> int -> int
val shutdown : (module Netsys_crypto_types.TLS_ENDPOINT) -> Unix.shutdown_command -> unit
val at_transport_eof : (module Netsys_crypto_types.TLS_ENDPOINT) -> bool
module Debug : sig ... end
OCaml

Innovation. Community. Security.