package tls

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

Install

Dune Dependency

Authors

Maintainers

Sources

tls-1.0.0.tbz
sha256=465c4a5c62f868025cd48fd09b2cbef8cf378d996386c09de1535be8407405a5
sha512=6ee0400f93d1294f44e68f7641a8fe95818aefabea41bb39cb384d4639d9023e2f0e82a75328ae603c575593ff154318d100de4e9d0951afc86e611002b3080e

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: 22 Aug 2024

README

TLS - Transport Layer Security purely in OCaml

v1.0.0

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. hkdf >= "2.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 (19)

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

Conflicts (1)

  1. result < "1.5"
OCaml

Innovation. Community. Security.