Module casper_node::tls[][src]

Expand description

Transport layer security and signing based on OpenSSL.

This module wraps some of the lower-level TLS constructs to provide a reasonably safe-to-use API surface for the rest of the application. It also fixes the security parameters of the TLS level in a central place.

Features include

Structs

Public key fingerprint.

A signed value.

TLS certificate.

Enums

Error during certificate validation.

Functions

Generates a self-signed (key, certificate) pair suitable for TLS and signing.

Saves a certificate to a file.

Saves a private key to a file.