Borrowed construction inputs for a TLS server. More...
#include <StormByte/crypto/tls/session.hxx>

Public Attributes | |
| std::span< const std::byte > | certificate_chain_pem {} |
| PEM leaf and optional intermediate certificates. | |
| std::span< const std::byte > | private_key_pem {} |
| PEM private key matching the leaf certificate. | |
| std::span< const std::byte > | private_key_password {} |
| Optional PEM key password. | |
| bool | require_client_certificate {false} |
| Require and validate a client certificate. | |
| std::span< const X509::Certificate > | client_trust_anchors {} |
| Exclusive custom client CA anchors for mTLS. | |
| X509::TimePoint | validation_time |
| Client certificate validation time. | |
| Configuration | policy {} |
| Validated TLS 1.3 suites, groups and signature schemes. | |
| std::span< const std::byte > | alpn_wire {} |
| Optional length-prefixed server protocol preference list. | |
Borrowed construction inputs for a TLS server.
The certificate PEM contains the leaf first, followed by any intermediate certificates. The private key is parsed synchronously and never retained as caller-owned memory.
| std::span<const std::byte> StormByte::Crypto::TLS::ServerConfiguration::alpn_wire {} |
Optional length-prefixed server protocol preference list.
| std::span<const std::byte> StormByte::Crypto::TLS::ServerConfiguration::certificate_chain_pem {} |
PEM leaf and optional intermediate certificates.
| std::span<const X509::Certificate> StormByte::Crypto::TLS::ServerConfiguration::client_trust_anchors {} |
Exclusive custom client CA anchors for mTLS.
| Configuration StormByte::Crypto::TLS::ServerConfiguration::policy {} |
Validated TLS 1.3 suites, groups and signature schemes.
| std::span<const std::byte> StormByte::Crypto::TLS::ServerConfiguration::private_key_password {} |
Optional PEM key password.
| std::span<const std::byte> StormByte::Crypto::TLS::ServerConfiguration::private_key_pem {} |
PEM private key matching the leaf certificate.
| bool StormByte::Crypto::TLS::ServerConfiguration::require_client_certificate {false} |
Require and validate a client certificate.
| X509::TimePoint StormByte::Crypto::TLS::ServerConfiguration::validation_time |
Client certificate validation time.