val tag_of_certificateStatusRequest (x: certificateStatusRequest) : certificateStatusType
val tag_of_certificateStatusRequest (x: certificateStatusRequest) : certificateStatusType
let tag_of_certificateStatusRequest (x:certificateStatusRequest) : certificateStatusType = match x with
  | Csr_ocsp _ -> Ocsp
  | Csr_Unknown_certificateStatusType v _ -> Unknown_certificateStatusType v
module MiTLS.Parsers.CertificateStatusRequest

(* This file has been automatically generated by EverParse. *)
open FStar.Bytes
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module LP = LowParse.Spec.Base
module LS = LowParse.SLow.Base
module LSZ = LowParse.SLow.Base
module LPI = LowParse.Spec.AllIntegers
module LL = LowParse.Low.Base
module L = FStar.List.Tot
module B = LowStar.Buffer
module BY = FStar.Bytes
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

open MiTLS.Parsers.CertificateStatusType
open MiTLS.Parsers.OCSPStatusRequest

type certificateStatusRequest =
  | Csr_ocsp of oCSPStatusRequest
  | Csr_Unknown_certificateStatusType: v:certificateStatusType_repr{not (known_certificateStatusType_repr v)} -> x:(squash False) -> certificateStatusRequest
/
prims.fst.checked MiTLS.Parsers.OCSPStatusRequest.fsti.checked MiTLS.Parsers.CertificateStatusType.fsti.checked LowStar.Buffer.fst.checked LowParse.Spec.Base.fsti.checked LowParse.Spec.AllIntegers.fst.checked LowParse.SLow.Base.fst.checked LowParse.Low.Base.fst.checked FStar.UInt8.fsti.checked FStar.UInt64.fsti.checked FStar.UInt32.fsti.checked FStar.UInt16.fsti.checked FStar.Seq.fst.checked FStar.Pervasives.fsti.checked FStar.List.Tot.fst.checked FStar.HyperStack.ST.fsti.checked FStar.HyperStack.fst.checked FStar.Bytes.fsti.checked
MiTLS.Parsers.CertificateStatusRequest.fsti
x: MiTLS.Parsers.CertificateStatusRequest.certificateStatusRequest
  -> MiTLS.Parsers.CertificateStatusType.certificateStatusType
MiTLS.Parsers.CertificateStatusRequest.certificateStatusRequest MiTLS.Parsers.OCSPStatusRequest.oCSPStatusRequest MiTLS.Parsers.CertificateStatusType.Ocsp MiTLS.Parsers.CertificateStatusType.certificateStatusType_repr Prims.b2t Prims.op_Negation MiTLS.Parsers.CertificateStatusType.known_certificateStatusType_repr Prims.squash Prims.l_False MiTLS.Parsers.CertificateStatusType.Unknown_certificateStatusType MiTLS.Parsers.CertificateStatusType.certificateStatusType
let tag_of_certificateStatusRequest (x: certificateStatusRequest) : certificateStatusType =
  
match x with
| Csr_ocsp _ -> Ocsp
| Csr_Unknown_certificateStatusType v _ -> Unknown_certificateStatusType v