Skip to content

Struct SYN_TLS_Config

ClassList > SYN_TLS_Config

More...

  • #include <syn_tls.h>

Public Attributes

Type Name
SYN_TLS_CipherSuite cipher_suite
const uint8_t * client_cert_der
size_t client_cert_len
const uint8_t * client_privkey
SYN_TLS_AuthMode mode
const uint8_t * peer_pubkey
size_t peer_pubkey_len
const uint8_t * psk_identity
size_t psk_identity_len
const uint8_t * psk_secret
size_t psk_secret_len
const SYN_X509_Cert * root_ca
const char * server_name

Detailed Description

TLS 1.3 Engine Configuration

Public Attributes Documentation

variable cipher_suite

SYN_TLS_CipherSuite SYN_TLS_Config::cipher_suite;

Selected TLS 1.3 cipher suite


variable client_cert_der

const uint8_t* SYN_TLS_Config::client_cert_der;

Client certificate DER bytes (for mTLS)


variable client_cert_len

size_t SYN_TLS_Config::client_cert_len;

Client certificate length


variable client_privkey

const uint8_t* SYN_TLS_Config::client_privkey;

Client private key (32 bytes)


variable mode

SYN_TLS_AuthMode SYN_TLS_Config::mode;

PSK, RPK, X.509, or mTLS


variable peer_pubkey

const uint8_t* SYN_TLS_Config::peer_pubkey;

32-byte raw peer X25519/Ed25519 public key


variable peer_pubkey_len

size_t SYN_TLS_Config::peer_pubkey_len;

Raw peer public key length


variable psk_identity

const uint8_t* SYN_TLS_Config::psk_identity;

PSK identity bytes


variable psk_identity_len

size_t SYN_TLS_Config::psk_identity_len;

PSK identity length


variable psk_secret

const uint8_t* SYN_TLS_Config::psk_secret;

32-byte pre-shared secret


variable psk_secret_len

size_t SYN_TLS_Config::psk_secret_len;

Secret length


variable root_ca

const SYN_X509_Cert* SYN_TLS_Config::root_ca;

Trusted Root CA cert for server validation


variable server_name

const char* SYN_TLS_Config::server_name;

SNI hostname (optional)



The documentation for this class was generated from the following file src/syntropic/net/syn_tls.h