upstream: github.com/mirleft/ocaml-x509
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-linkedin: apply dune fmt

Pure formatting changes from `dune fmt`: doc comment placement moves
from above the binding to below it for `type`s, multi-line `match`
expressions collapse onto one line where they fit, and infix operator
applications pick up spaces (`Soup.($?)` -> `Soup.( $? )`). No
semantic changes.

+34 -1
+27 -1
README.md
··· 19 19 20 20 ## Installation 21 21 22 - `opam install x509` will install this library. 22 + Install with opam: 23 + 24 + ```sh 25 + $ opam install x509 26 + ``` 27 + 28 + If opam cannot find the package, it may not yet be released in the public 29 + `opam-repository`. Add the overlay repository, then install it: 30 + 31 + ```sh 32 + $ opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 33 + $ opam update 34 + $ opam install x509 35 + ``` 36 + 37 + ## Example 38 + 39 + Decode a PEM bundle, extract certificates, then build an authenticator 40 + from a trust anchor set: 41 + 42 + ```ocaml 43 + let certs = 44 + X509.Certificate.decode_pem_multiple (Cstruct.of_string pem_bundle) 45 + 46 + let authenticator = 47 + X509.Authenticator.chain_of_trust ~time trust_anchors 48 + ```
+4
dune
··· 1 1 (env 2 2 (dev 3 3 (flags :standard %{dune-warnings}))) 4 + 5 + (mdx 6 + (files README.md) 7 + (libraries x509 cstruct))
+2
dune-project
··· 1 1 (lang dune 3.21) 2 + (using mdx 0.4) 2 3 (name x509) 3 4 (source (tangled gazagnaire.org/ocaml-x509)) 4 5 (license BSD-2-Clause) ··· 32 33 logs 33 34 (kdf (>= 1.0.0)) 34 35 (ohex (>= 0.2.0)) 36 + (mdx :with-test) 35 37 (ipaddr (>= 5.2.0))) 36 38 (conflicts (result (< 1.5))))
+1
x509.opam
··· 28 28 "logs" 29 29 "kdf" {>= "1.0.0"} 30 30 "ohex" {>= "0.2.0"} 31 + "mdx" {with-test} 31 32 "ipaddr" {>= "5.2.0"} 32 33 "odoc" {with-doc} 33 34 ]