Skip to main content

Crate tor_cert_x509

Crate tor_cert_x509 

Source
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:

  1. The RSA_ID_X509 certificate is provided in a CERTS cell, and used to transmit the RSA identity key.
  2. 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§

TlsKeyAndCert
A set of x.509 certificate information and keys for use with a TLS library.

Enums§

X509CertError
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.