package tls-async

  1. Overview
  2. Docs

OCSP (Online Certificate Status Protocol) as described in RFC 6960.

type cert_id = X509.OCSP.cert_id

type for CertID to distinguish requested certs

val create_cert_id : ?hash:Mirage_crypto.Hash.hash -> X509.Certificate.t -> Z.t -> cert_id

create_cert_id issuer serial creates cert_id for this serial

val cert_id_serial : cert_id -> Z.t

cert_id_serial certid is serial number of this certid

val pp_cert_id : cert_id Fmt.t

pp_cert_id ppf cert_id pretty prints cert_id

module Request : sig ... end
module Response : sig ... end