package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ptype = [
  1. | `GSSAPI
  2. | `SASL
]
type profile = {
  1. ptype : ptype;
  2. hash_function : Netsys_digests.iana_hash_fn;
  3. return_unknown_user : bool;
  4. iteration_count_limit : int;
}
type server_error = [
  1. | `Channel_binding_not_supported
  2. | `Channel_bindings_dont_match
  3. | `Extension of string
  4. | `Extensions_not_supported
  5. | `Invalid_encoding
  6. | `Invalid_proof
  7. | `Invalid_username_encoding
  8. | `No_resources
  9. | `Other_error
  10. | `Server_does_support_channel_binding
  11. | `Unknown_user
  12. | `Unsupported_channel_binding_type
]
type client_session
type server_session
exception Invalid_encoding of string * string
exception Invalid_username_encoding of string * string
exception Extensions_not_supported of string * string
exception Protocol_error of string
exception Invalid_server_signature
exception Server_error of server_error
val error_of_exn : exn -> string
val profile : ?return_unknown_user:bool -> ?iteration_count_limit:int -> ptype -> Netsys_digests.iana_hash_fn -> profile
val string_of_server_error : server_error -> string
val server_error_of_string : string -> server_error
val mechanism_name : profile -> string
val create_client_session : ?nonce:string -> profile -> string -> string -> client_session
val create_client_session2 : ?nonce:string -> profile -> string -> string -> string -> client_session
val client_configure_channel_binding : client_session -> cb -> client_session
val client_restart : client_session -> string -> client_session
val client_restart_stale : client_session -> string -> client_session
val client_emit_flag : client_session -> bool
val client_recv_flag : client_session -> bool
val client_finish_flag : client_session -> bool
val client_semifinish_flag : client_session -> bool
val client_error_flag : client_session -> exn option
val client_channel_binding : client_session -> cb
val client_emit_message : client_session -> client_session * string
val client_emit_message_kv : client_session -> client_session * string option * (string * string) list
val client_recv_message : client_session -> string -> client_session
val client_protocol_key : client_session -> string option
val client_user_name : client_session -> string
val client_authz_name : client_session -> string
val client_password : client_session -> string
val client_export : client_session -> string
val client_import : string -> client_session
val client_prop : client_session -> string -> string
type credentials = [
  1. | `Salted_password of string * string * int
  2. | `Stored_creds of string * string * string * int
]
val create_server_session : ?nonce:string -> profile -> (string -> credentials) -> server_session
val create_server_session2 : ?nonce:string -> profile -> (string -> string -> credentials) -> server_session
val create_salt : unit -> string
val salt_password : Netsys_digests.iana_hash_fn -> string -> string -> int -> string
val stored_key : Netsys_digests.iana_hash_fn -> string -> string -> int -> string * string
val server_emit_flag : server_session -> bool
val server_recv_flag : server_session -> bool
val server_finish_flag : server_session -> bool
val server_error_flag : server_session -> bool
val server_emit_message : server_session -> server_session * string
val server_emit_message_kv : server_session -> server_session * (string * string) list
val server_recv_message : server_session -> string -> server_session
val server_protocol_key : server_session -> string option
val server_channel_binding : server_session -> cb
val server_user_name : server_session -> string option
val server_authz_name : server_session -> string option
val server_export : server_session -> string
val server_import : string -> server_session
val server_import_any : string -> (string -> credentials) -> server_session
val server_import_any2 : string -> (string -> string -> credentials) -> server_session
val server_prop : server_session -> string -> string
type specific_keys = {
  1. kc : string;
  2. ke : string;
  3. ki : string;
}
module AES_CTS : sig ... end
module Cryptosystem : sig ... end
module Debug : sig ... end
OCaml

Innovation. Community. Security.