Module Netsys_crypto_types

Types for crypto providers

module type TLS_EXCEPTIONS = sig ... end

The exceptions the TLS provider may use (in addition to OCaml's built-in exception). In Ocamlnet, these exceptions are actually defined in Netsys_types.

module type TLS_PROVIDER = sig ... end

Provides TLS functionality.

module type TLS_CONFIG = sig ... end
module type TLS_ENDPOINT = sig ... end
module type FILE_TLS_ENDPOINT = sig ... end
module type SYMMETRIC_CRYPTO = sig ... end

Symmetric cryptographic ciphers.

module type DIGESTS = sig ... end

Cryptographic digests.

module type PUBKEY_CRYPTO = sig ... end
type tls_provider = (module TLS_PROVIDER)
type tls_config = (module TLS_CONFIG)
type tls_endpoint = (module TLS_ENDPOINT)
type file_tls_endpoint = (module FILE_TLS_ENDPOINT)
type symmetric_crypto = (module SYMMETRIC_CRYPTO)
type digests = (module DIGESTS)
type pubkey_crypto = (module PUBKEY_CRYPTO)