Skip to main content

Module utils

Module utils 

Available on crate feature boring only.
Expand description

Server Utilities

Enums§

MitmLeafOcspStatus
Status to assert for the certificate. Only Good today; Revoked is the seam for a future mode that mirrors an upstream’s real revocation status.

Functions§

build_mitm_leaf_ocsp_response
Build a DER-encoded OCSP response for leaf, signed by the MITM CA (issuer + issuer_key), ready for SslRef::set_ocsp_status.
self_signed_server_auth_gen_ca
Generate a self-signed server CA from the given SelfSignedData.
self_signed_server_auth_gen_cert
Generate a server cert for the SelfSignedData using the given CA Cert + Key.
self_signed_server_auth_mirror_cert
Generate a mirrored server certificate based on a source certificate.