Skip to main content

Crate runewarp

Crate runewarp 

Source

Modules§

runtime_log

Structs§

Client
ClientCertificateState
ClientConfig
ClientIdentity
ClientRuntimeArgs
ClientServiceSettings
ClientSettings
ClientSettingsResolutionDefaults
GeneratedClientIdentity
ParsedClientHello
PreparedClient
PreparedServer
Server
ServerConfig
ServerSettings
ServerTunnelSettings
XdgPathError

Enums§

ClientCertificateRenewalDecision
ClientConnectError
ClientHelloError
ClientIdentityMaterialError
ClientPublicCertConfig
ClientPublicCertError
ClientSettingsResolutionError
ClientStartupError
ClientTlsMode
LogLevel
ParseClientIdentityCertificateError
ParseClientIdentityError
QuicConfigError
SelectedClientConfig
ServerCertificateSettings
ServerSettingsResolutionError
ServerStartupError
SettingsError

Constants§

CLIENT_CERT_FILENAME
CLIENT_CERT_LIFETIME_DAYS
CLIENT_CERT_RENEW_AFTER_DAYS
CLIENT_HELLO_BUFFER_LIMIT
CLIENT_IDENTITY_FILENAME
CLIENT_KEY_FILENAME
CLIENT_PUBLIC_CA_FILENAME
CLIENT_PUBLIC_CA_LIFETIME_DAYS
CLIENT_PUBLIC_CERT_FILENAME
CLIENT_PUBLIC_CERT_LIFETIME_DAYS
CLIENT_PUBLIC_KEY_FILENAME
HANDSHAKE_TIMEOUT
IDLE_TIMEOUT
KEEPALIVE_INTERVAL
MAX_SERVER_OPENED_BIDI_STREAMS
RUNEWARP_ALPN
SERVER_CA_FILENAME

Functions§

client_identity_from_certificate_der
client_public_cert_leaf_dir
Returns the subdirectory that holds the leaf cert and key for hostname.
decide_client_certificate_renewal
default_client_acme_state_dir
default_client_identity_material_dir
default_client_public_cert_material_dir
default_client_server_ca_path
default_config_path
default_server_acme_state_dir
default_server_cert_material_dir
generate_client_identity
initialize_manual_client_public_cert
Bootstraps a shared Public hostname CA and a leaf certificate for hostname.
initialize_manual_server_certificate
inspect_client_certificate_renewal
inspect_manual_server_certificate
load_client_settings
load_server_settings
make_client_quic_config
make_client_quic_config_with_client_auth
make_server_quic_config
make_server_quic_config_with_client_auth
make_server_quic_config_with_client_auth_resolver
read_client_hello
read_client_identity
renew_client_identity_certificate
renew_manual_client_public_cert
Renews the leaf certificate for hostname under directory, reusing the existing shared Public hostname CA. The CA itself is not changed.
renew_manual_server_certificate
resolve_client_identity_material_dir_from_config
resolve_client_public_cert_material_dir_from_config
resolve_client_settings_from_cli
resolve_selected_client_settings
resolve_server_cert_material_dir_from_config
resolve_server_hostname_from_config
resolve_server_settings_from_cli
resolve_terminating_hostnames_from_config
Returns the deduplicated, normalized list of public-hostnames from every [[client.services]] entry whose tls-mode is "terminate". Returns None when no [client] section exists in the config file.
rotate_client_identity
rotate_manual_client_public_cert_authority
Rotates the shared Public hostname CA and reissues every leaf certificate for the given hostnames. Both the CA cert and CA private key are replaced; every managed leaf cert and key are replaced under their hostname subdirectories.
rotate_manual_server_certificate_authority
select_client_config