Module boring
Available on crate features
boring and crypto and std only.Expand description
BoringSSL-backed self-signed certificate generation (feature boring).
Functions§
- aki_
from_ ca_ pubkey_ keyid - Build an
AuthorityKeyIdentifierextension whosekeyIdentifieris derived from the CA’s public key per RFC 5280 §4.2.1.2 method (1): SHA-1 of the SubjectPublicKey BIT STRING contents. Used as a fallback when the CA certificate carries no SKI extension. - generate_
certificate_ authority - generate_
certificate_ authority_ x509 - Generate a self-signed certificate authority.
- issue_
certificate_ authority_ leaf - issue_
leaf_ certificate - Issue a server leaf using the supplied certificate authority.
- self_
signed_ server_ auth_ mirror_ cert - Generate a mirrored server certificate based on a source certificate.
- self_
signed_ server_ auth_ mirror_ cert_ with_ extensions - Like
self_signed_server_auth_mirror_cert, additionally appendingextra_extensions(e.g. proxy-hosted CRL/OCSP revocation pointers) to the re-signed leaf before signing. - signing_
digest_ for - Message digest to use when signing a certificate with
key.