Expand description
Certificate related types and functions for an arti relay.
Re-exportsยง
use tor_cert::CertEncodeError;๐use tor_cert::CertType;๐use tor_cert::CertifiedKey;๐use tor_cert::Ed25519Cert;๐use tor_cert::EncodedEd25519Cert;๐use tor_checkable::SelfSigned;๐use tor_checkable::TimeBound;๐use tor_key_forge::InvalidCertError;๐use tor_key_forge::ParsedEd25519Cert;๐use tor_key_forge::ToEncodableCert;๐use tor_llcrypto::pk::ed25519;๐use tor_llcrypto::pk::ed25519::Ed25519Identity;๐use web_time_compat::SystemTime;๐use web_time_compat::SystemTimeExt;๐use crate::pk::RelayIdentityKeypair;๐use crate::pk::RelayLinkSigningKeypair;๐use crate::pk::RelaySigningKeypair;๐
Structsยง
- Relay
Link Signing KeyCert - Certificate for the short-term signing keypair for link authentication.
- Relay
Signing KeyCert - Certificate for the medium-term relay signing key (
K_relaysign_ed).
Functionsยง
- gen_
link_ cert - Generate the relay link certificate from the given relay signing keypair and the relay link keypair.
- gen_
signing_ cert - Generate the relay signing certificate from the given relay identity keypair and the relay signing keypair.
- gen_
tls_ cert - Generate the signed TLS certificate from the given relay signing keypair and the TLS cert digest.
- validate_
ed25519_ ๐cert - Validate the specified
cert, checking that