package x509

  1. Overview
  2. Docs

Decoding and encoding of X509 certificates in PEM format

PEM encoded certificates

val of_pem_cstruct : Cstruct.t -> t list

of_pem_cstruct pem is t list, where all certificates of the pem are extracted

val of_pem_cstruct1 : Cstruct.t -> t

of_pem_cstruct1 pem is t, where the single certificate of the pem is extracted

val to_pem_cstruct : t list -> Cstruct.t

to_pem_cstruct certificates is pem, the pem encoded certificates.

val to_pem_cstruct1 : t -> Cstruct.t

to_pem_cstruct1 certificate is pem, the pem encoded certificate.