Expand description
§tor-cert
Code for generating x509 certificates.
§Overview
For the most part, Tor doesn’t actually need x509 certificates. We only keep them around for two purposes:
- The
RSA_ID_X509certificate is provided in a CERTS cell, and used to transmit the RSA identity key. - TLS requires the responder to have an x509 certificate.
This crate is part of Arti, a project to implement Tor in Rust.
See also tor-cert and tor-netdoc::doc::authcert
for other kinds of certificates implemented by Tor.
License: MIT OR Apache-2.0
Structs§
- TlsKey
AndCert - A set of x.509 certificate information and keys for use with a TLS library.
Enums§
- X509
Cert Error - An error that has occurred while trying to create a certificate.
Functions§
- create_
legacy_ rsa_ id_ cert - Create an X.509 certificate, for use in a CERTS cell, self-certifying the provided RSA identity key.