StormByte-Crypto 3.1.0
C++26 cryptography module of the StormByte suite
Loading...
Searching...
No Matches
session.hxx File Reference
#include <StormByte/crypto/tls/policy.hxx>
#include <StormByte/crypto/x509/trust_path.hxx>
#include <StormByte/crypto/visibility.h>
#include <StormByte/expected.hxx>
#include <cstddef>
#include <chrono>
#include <memory>
#include <span>
#include <string_view>
Include dependency graph for session.hxx:

Go to the source code of this file.

Classes

struct  StormByte::Crypto::TLS::ClientConfiguration
 Borrowed construction inputs for an authenticated TLS client. More...
struct  StormByte::Crypto::TLS::ServerConfiguration
 Borrowed construction inputs for a TLS server. More...
class  StormByte::Crypto::TLS::Session
 OpenSSL-backed TLS 1.3 stream engine driven only by caller buffers. More...

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
namespace  StormByte::Crypto
 Crypto module of the StormByte suite.
namespace  StormByte::Crypto::TLS
 TLS 1.3 policy and buffer-driven session engine.

Enumerations

enum class  StormByte::Crypto::TLS::Role { StormByte::Crypto::TLS::Client , StormByte::Crypto::TLS::Server }
 TLS endpoint role for a stream session. More...
enum class  StormByte::Crypto::TLS::State {
  StormByte::Crypto::TLS::Handshaking , StormByte::Crypto::TLS::Open , StormByte::Crypto::TLS::Closing , StormByte::Crypto::TLS::Closed ,
  StormByte::Crypto::TLS::Failed
}
 Observable lifecycle of a buffer-driven TLS session. More...
enum class  StormByte::Crypto::TLS::SessionError {
  StormByte::Crypto::TLS::InvalidConfiguration , StormByte::Crypto::TLS::UnsupportedPolicy , StormByte::Crypto::TLS::BackendFailure , StormByte::Crypto::TLS::PeerRejected ,
  StormByte::Crypto::TLS::InvalidState , StormByte::Crypto::TLS::BufferLimit
}
 Typed TLS session failures. More...
enum class  StormByte::Crypto::TLS::TrustSource { StormByte::Crypto::TLS::Bundled , StormByte::Crypto::TLS::Custom }
 Source of trust anchors for a client or mutual-TLS server. More...

Functions

const char * StormByte::Crypto::TLS::DescribeSessionError (SessionError error) noexcept
 Describe a typed setup or operation failure without accessing backend state.