Skip to main content

Module tls

Module tls 

Source

Structs§

GeneratedCredentials
Credentials generated by generate_credentials.
SignedNodeCredentials
Credentials produced by sign_node_cert – no CA key material, just what the clinic node needs.
TlsConfig
TLS credentials for a ZamSync node.

Functions§

generate_credentials
Generate a deployment CA + node certificate pair using ECDSA P-256.
install_crypto_provider
Install the ring crypto provider for rustls. Safe to call multiple times.
sign_node_cert
Sign a new node certificate with an existing CA.