mirleft / ocaml-x509

X509 (RFC5280) handling in OCaml
BSD 2-Clause "Simplified" License
52 stars 33 forks source link

Add Authenticator.of_string #156

Closed dinosaure closed 2 years ago

dinosaure commented 2 years ago

Related to mirage/ocaml-dns. A simple function which tries to deserialize a string to an Authenticator.t.

hannesm commented 2 years ago

I pushed 82ddc39 with some minor improvements to adhere to the x509 coding style (using let*). Do you agree with that commit?

dinosaure commented 2 years ago

Yes, perfect :+1:.

dinosaure commented 2 years ago

I'm ok with updates :+1:, I mostly want to have something common and available into one and unique place - I will update git-mirage-http in consequence.