package tls

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

Install

Dune Dependency

Authors

Maintainers

Sources

tls-1.0.2.tbz
sha256=a21751200cb3146ffe1547f5d6de187b5147e8ee6bed12b09d52c002d42b3feb
sha512=20f74cd724c84dead81c5a124db7b65519a8e23b7305bb7cc7cd1ebb7648ac262ef72534af931e55a10ad2ba75a7541244b8feabad6834c20061e435aaf7af16

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: 05 Sep 2024

README

TLS - Transport Layer Security purely in OCaml

v1.0.2

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 further and our Usenix Security 2015 paper.

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 (22)

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

Conflicts (1)

  1. result < "1.5"
OCaml

Innovation. Community. Security.