Struct SYN_TLS_Config¶
#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¶
Selected TLS 1.3 cipher suite
variable client_cert_der¶
Client certificate DER bytes (for mTLS)
variable client_cert_len¶
Client certificate length
variable client_privkey¶
Client private key (32 bytes)
variable mode¶
PSK, RPK, X.509, or mTLS
variable peer_pubkey¶
32-byte raw peer X25519/Ed25519 public key
variable peer_pubkey_len¶
Raw peer public key length
variable psk_identity¶
PSK identity bytes
variable psk_identity_len¶
PSK identity length
variable psk_secret¶
32-byte pre-shared secret
variable psk_secret_len¶
Secret length
variable root_ca¶
Trusted Root CA cert for server validation
variable server_name¶
SNI hostname (optional)
The documentation for this class was generated from the following file src/syntropic/net/syn_tls.h