package tls

  1. Overview
  2. Docs
Transport Layer Security purely in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

tls-1.0.4.tbz
sha256=c85b7c1a1e22a6c796107b2725595dde260494c0ef06b61d9f53be22e1dc42e8
sha512=98b5d136d3714d48ef23fe84e37dc91c95a47c14f85426c7235cc453c63a66ca0a1c433ac0b0ff2570d216871673f9aa1340720dc95c6c5ffb4db56ae2807158

Description

Transport Layer Security (TLS) is probably the most widely deployed security protocol on the Internet. It provides communication privacy to prevent eavesdropping, tampering, and message forgery. Furthermore, it optionally provides authentication of the involved endpoints. TLS is commonly deployed for securing web services (HTTPS), emails, virtual private networks, and wireless networks.

TLS uses asymmetric cryptography to exchange a symmetric key, and optionally authenticate (using X.509) either or both endpoints. It provides algorithmic agility, which means that the key exchange method, symmetric encryption algorithm, and hash algorithm are negotiated.

Read our Usenix Security 2015 paper.

Tags

org:mirage

Published: 29 Oct 2024

README

TLS - Transport Layer Security purely in OCaml

v1.0.4

Transport Layer Security (TLS) is probably the most widely deployed security protocol on the Internet. It provides communication privacy to prevent eavesdropping, tampering, and message forgery. Furthermore, it optionally provides authentication of the involved endpoints. TLS is commonly deployed for securing web services (HTTPS), emails, virtual private networks, and wireless networks.

TLS uses asymmetric cryptography to exchange a symmetric key, and optionally authenticate (using X.509) either or both endpoints. It provides algorithmic agility, which means that the key exchange method, symmetric encryption algorithm, and hash algorithm are negotiated.

Read our Usenix Security 2015 paper for further details.

Documentation

API documentation

Installation

opam install tls will install this library.

You can also build this locally by conducting the steps:

opam install --deps-only -t . # or a named package instead of `.` - i.e. ./tls-lwt.opam
dune build --profile=release # you can also put a package list here, i.e. tls,tls-lwt -- you can also use `@all` target to compile examples as well

Dependencies (14)

  1. digestif >= "1.2.0"
  2. ohex >= "0.2.0"
  3. ipaddr
  4. logs
  5. kdf >= "1.0.0"
  6. fmt >= "0.8.7"
  7. domain-name >= "0.3.0"
  8. x509 >= "1.0.0"
  9. mirage-crypto-rng >= "1.0.0"
  10. mirage-crypto-pk >= "1.0.0"
  11. mirage-crypto-ec >= "1.0.0"
  12. mirage-crypto >= "1.1.0"
  13. dune >= "3.0"
  14. ocaml >= "4.13.0"

Dev Dependencies (3)

  1. cmdliner with-test & >= "1.3.0"
  2. alcotest with-test
  3. ounit2 with-test & >= "2.2.0"

Used by (24)

  1. albatross >= "2.2.0"
  2. capnp-rpc-net = "1.2.4"
  3. caqti >= "2.1.2"
  4. caqti-mirage >= "2.1.2"
  5. caqti-tls >= "2.1.2"
  6. conduit-mirage >= "7.0.0"
  7. dkim-bin >= "0.7.0"
  8. dns-resolver >= "9.0.0"
  9. git-mirage >= "3.17.0"
  10. git-paf >= "3.17.0"
  11. git-unix >= "3.17.0"
  12. http-lwt-client >= "0.3.0"
  13. http-mirage-client >= "0.0.7"
  14. ldp_tls >= "0.3.0"
  15. paf >= "0.7.0"
  16. sendmail >= "0.9.0"
  17. sendmail-lwt >= "0.9.0"
  18. sendmail-mirage
  19. tls-async >= "1.0.4"
  20. tls-eio >= "1.0.4"
  21. tls-liquidsoap
  22. tls-lwt >= "1.0.4"
  23. tls-miou-unix >= "1.0.4"
  24. tls-mirage >= "1.0.4"

Conflicts (1)

  1. result < "1.5"
OCaml

Innovation. Community. Security.