package x509

  1. Overview
  2. Docs

Parser and unparser of PEM files

PEM encoding

val parse : Cstruct.t -> (string * Cstruct.t) list

parse pem is (name * data) list, in which the pem is parsed into its components, each surrounded by BEGIN name and END name. The actual data is base64 decoded.

module Certificate : sig ... end

Decoding and encoding of X509 certificates in PEM format

module Certificate_signing_request : sig ... end

Decoding and encoding of PKCS 10 certification requests in PEM format

module Public_key : sig ... end

Decoding and encoding of public keys in PEM format as defined in PKCS 8

module Private_key : sig ... end

Decoding and encoding of unencrypted private RSA keys in PEM format as defined in PKCS 8

OCaml

Innovation. Community. Security.