_TlsContext Struct Reference

TLS context. More...

#include <tls.h>

Data Fields

TlsState state
 TLS handshake finite state machine. More...
 
TlsTransportProtocol transportProtocol
 Transport protocol (stream or datagram) More...
 
TlsConnectionEnd entity
 Client or server operation. More...
 
TlsSocketHandle socketHandle
 Socket handle. More...
 
TlsSocketSendCallback socketSendCallback
 Socket send callback function. More...
 
TlsSocketReceiveCallback socketReceiveCallback
 Socket receive callback function. More...
 
const PrngAlgoprngAlgo
 Pseudo-random number generator to be used. More...
 
void * prngContext
 Pseudo-random number generator context. More...
 
const uint16_t * cipherSuites
 List of supported cipher suites. More...
 
uint_t numCipherSuites
 Number of cipher suites in the list. More...
 
const uint16_t * supportedGroups
 List of supported named groups. More...
 
uint_t numSupportedGroups
 Number of named groups in the list. More...
 
char_tserverName
 Fully qualified DNS hostname of the server. More...
 
TlsEcdhCallback ecdhCallback
 
TlsEcdsaSignCallback ecdsaSignCallback
 
TlsEcdsaVerifyCallback ecdsaVerifyCallback
 
TlsCertDesc certs [TLS_MAX_CERTIFICATES]
 End entity certificates (PEM format) More...
 
uint_t numCerts
 Number of certificates available. More...
 
const char_ttrustedCaList
 List of trusted CA (PEM format) More...
 
size_t trustedCaListLen
 Number of trusted CA in the list. More...
 
TlsCertVerifyCallback certVerifyCallback
 Certificate verification callback function. More...
 
void * certVerifyParam
 Opaque pointer passed to the certificate verification callback. More...
 
TlsCertDesccert
 Pointer to the currently selected certificate. More...
 
TlsCachecache
 TLS session cache. More...
 
uint8_t sessionId [32]
 Session identifier. More...
 
size_t sessionIdLen
 Length of the session identifier. More...
 
uint16_t clientVersion
 Latest version supported by the client. More...
 
uint16_t version
 Negotiated TLS version. More...
 
uint16_t versionMin
 Minimum version accepted by the implementation. More...
 
uint16_t versionMax
 Maximum version accepted by the implementation. More...
 
uint8_t * cookie
 Cookie. More...
 
size_t cookieLen
 Length of the cookie. More...
 
uint8_t * ticket
 Session ticket. More...
 
size_t ticketLen
 Length of the session ticket. More...
 
systime_t ticketTimestamp
 Timestamp to manage ticket lifetime. More...
 
uint32_t ticketLifetime
 Lifetime of the ticket. More...
 
TlsCipherSuiteInfo cipherSuite
 Negotiated cipher suite. More...
 
TlsKeyExchMethod keyExchMethod
 Key exchange method. More...
 
TlsSignatureAlgo signAlgo
 Signature algorithm to be used. More...
 
TlsHashAlgo signHashAlgo
 Hash algorithm used for signing. More...
 
uint16_t namedGroup
 ECDHE or FFDHE named group. More...
 
TlsCertificateType peerCertType
 Peer's certificate type. More...
 
TlsClientAuthMode clientAuthMode
 Client authentication mode. More...
 
bool_t clientCertRequested
 This flag tells whether the client certificate is requested. More...
 
bool_t resume
 The connection is established by resuming a session. More...
 
bool_t fatalAlertSent
 A fatal alert message has been sent. More...
 
bool_t fatalAlertReceived
 A fatal alert message has been received from the peer. More...
 
bool_t closeNotifySent
 A closure alert has been sent. More...
 
bool_t closeNotifyReceived
 A closure alert has been received from the peer. More...
 
uint8_t * txBuffer
 TX buffer. More...
 
size_t txBufferSize
 TX buffer size. More...
 
size_t txBufferMaxLen
 Maximum number of plaintext data the TX buffer can hold. More...
 
TlsContentType txBufferType
 Type of data that resides in the TX buffer. More...
 
size_t txBufferLen
 Number of bytes that are pending to be sent. More...
 
size_t txBufferPos
 Current position in TX buffer. More...
 
size_t txRecordLen
 Length of the TLS record. More...
 
size_t txRecordPos
 Current position in the TLS record. More...
 
uint8_t * rxBuffer
 RX buffer. More...
 
size_t rxBufferSize
 RX buffer size. More...
 
size_t rxBufferMaxLen
 Maximum number of plaintext data the RX buffer can hold. More...
 
TlsContentType rxBufferType
 Type of data that resides in the RX buffer. More...
 
size_t rxBufferLen
 Number of bytes available for reading. More...
 
size_t rxBufferPos
 Current position in RX buffer. More...
 
size_t rxRecordLen
 Length of the TLS record. More...
 
size_t rxRecordPos
 Current position in the TLS record. More...
 
uint8_t clientRandom [TLS_RANDOM_SIZE]
 Client random value. More...
 
uint8_t serverRandom [TLS_RANDOM_SIZE]
 Server random value. More...
 
uint8_t premasterSecret [TLS_PREMASTER_SECRET_SIZE]
 Premaster secret. More...
 
size_t premasterSecretLen
 Length of the premaster secret. More...
 
uint8_t clientVerifyData [64]
 Client verify data. More...
 
size_t clientVerifyDataLen
 Length of the client verify data. More...
 
uint8_t serverVerifyData [64]
 Server verify data. More...
 
size_t serverVerifyDataLen
 Length of the server verify data. More...
 
TlsEncryptionEngine encryptionEngine
 Encryption engine. More...
 
TlsEncryptionEngine decryptionEngine
 Decryption engine. More...
 
size_t txLastRecordLen
 Length of the previous TLS record. More...
 
Md5ContexttranscriptMd5Context
 MD5 context used to compute verify data. More...
 
uint8_t masterSecret [TLS_MASTER_SECRET_SIZE]
 Master secret. More...
 
uint8_t keyBlock [192]
 Key material. More...
 
HmacContext hmacContext
 HMAC context. More...
 
Sha1ContexttranscriptSha1Context
 SHA-1 context used to compute verify data. More...
 
HashContexttranscriptHashContext
 Hash context used to compute verify data. More...
 
DhContext dhContext
 Diffie-Hellman context. More...
 
EcdhContext ecdhContext
 ECDH context. More...
 
bool_t ecPointFormatsExtReceived
 The EcPointFormats extension has been received. More...
 
RsaPublicKey peerRsaPublicKey
 Peer's RSA public key. More...
 
DsaPublicKey peerDsaPublicKey
 Peer's DSA public key. More...
 
EcDomainParameters peerEcParams
 Peer's EC domain parameters. More...
 
EcPoint peerEcPublicKey
 Peer's EC public key. More...
 
uint8_t * psk
 Pre-shared key. More...
 
size_t pskLen
 Length of the pre-shared key, in bytes. More...
 
char_tpskIdentity
 PSK identity. More...
 
char_tpskIdentityHint
 PSK identity hint. More...
 
TlsPskCallback pskCallback
 PSK callback function. More...
 
uint16_t pskCipherSuite
 Cipher suite associated with the PSK. More...
 
TlsHashAlgo pskHashAlgo
 Hash algorithm associated with the PSK. More...
 
size_t maxFragLen
 Maximum plaintext fragment length. More...
 
bool_t maxFragLenExtReceived
 The MaxFragmentLength extension has been received. More...
 
size_t recordSizeLimit
 Maximum record size the peer is willing to receive. More...
 
bool_t recordSizeLimitExtReceived
 The RecordSizeLimit extension has been received. More...
 
bool_t unknownProtocolsAllowed
 Unknown ALPN protocols allowed. More...
 
char_tprotocolList
 List of supported ALPN protocols. More...
 
char_tselectedProtocol
 Selected ALPN protocol. More...
 
TlsAlpnCallback alpnCallback
 ALPN callback function. More...
 
bool_t extendedMasterSecretExtReceived
 The ExtendedMasterSecret extension has been received. More...
 
TlsCertificateFormat certFormat
 Certificate format. More...
 
TlsCertificateFormat peerCertFormat
 Peer's certificate format. More...
 
TlsRpkVerifyCallback rpkVerifyCallback
 Raw public key verification callback function. More...
 
bool_t clientCertTypeExtReceived
 The ClientCertType extension has been received. More...
 
bool_t serverCertTypeExtReceived
 The ServerCertType extension has been received. More...
 
bool_t sessionTicketEnabled
 Session ticket mechanism enabled. More...
 
bool_t sessionTicketExtReceived
 The SessionTicket extension has been received. More...
 
TlsTicketEncryptCallback ticketEncryptCallback
 Ticket encryption callback function. More...
 
TlsTicketDecryptCallback ticketDecryptCallback
 Ticket decryption callback function. More...
 
void * ticketParam
 Opaque pointer passed to the ticket callbacks. More...
 
bool_t secureRenegoEnabled
 Secure renegotiation enabled. More...
 
bool_t secureRenegoFlag
 Secure renegotiation flag. More...
 
bool_t fallbackScsvEnabled
 Support for FALLBACK_SCSV. More...
 
TlsKeyLogCallback keyLogCallback
 Key logging callback (for debugging purpose only) More...
 
size_t pmtu
 PMTU value. More...
 
systime_t timeout
 Timeout for blocking calls. More...
 
systime_t startTime
 
DtlsCookieGenerateCallback cookieGenerateCallback
 Cookie generation callback function. More...
 
DtlsCookieVerifyCallback cookieVerifyCallback
 Cookie verification callback function. More...
 
void * cookieParam
 Opaque pointer passed to the cookie callbacks. More...
 
uint_t retransmitCount
 Retransmission counter. More...
 
systime_t retransmitTimestamp
 Time at which the datagram was sent. More...
 
systime_t retransmitTimeout
 Retransmission timeout. More...
 
uint16_t txMsgSeq
 Send sequence number. More...
 
size_t txDatagramLen
 Length of the outgoing datagram, in bytes. More...
 
uint16_t rxMsgSeq
 Next receive sequence number. More...
 
size_t rxFragQueueLen
 Length of the reassembly queue. More...
 
size_t rxDatagramLen
 Length of the incoming datagram, in bytes. More...
 
size_t rxDatagramPos
 
uint16_t rxRecordVersion
 Version of the incoming record. More...
 
bool_t replayDetectionEnabled
 Anti-replay mechanism enabled. More...
 
uint32_t replayWindow [(DTLS_REPLAY_WINDOW_SIZE+31)/32]
 
TlsEncryptionEngine prevEncryptionEngine
 

Detailed Description

TLS context.

An opaque data structure that represents a TLS connection

Definition at line 2014 of file tls.h.

Field Documentation

◆ alpnCallback

TlsAlpnCallback alpnCallback

ALPN callback function.

Definition at line 2213 of file tls.h.

◆ cache

TlsCache* cache

TLS session cache.

Definition at line 2049 of file tls.h.

◆ cert

TlsCertDesc* cert

Pointer to the currently selected certificate.

Definition at line 2047 of file tls.h.

◆ certFormat

Certificate format.

Definition at line 2221 of file tls.h.

◆ certs

End entity certificates (PEM format)

Definition at line 2041 of file tls.h.

◆ certVerifyCallback

TlsCertVerifyCallback certVerifyCallback

Certificate verification callback function.

Definition at line 2045 of file tls.h.

◆ certVerifyParam

void* certVerifyParam

Opaque pointer passed to the certificate verification callback.

Definition at line 2046 of file tls.h.

◆ cipherSuite

TlsCipherSuiteInfo cipherSuite

Negotiated cipher suite.

Definition at line 2067 of file tls.h.

◆ cipherSuites

const uint16_t* cipherSuites

List of supported cipher suites.

Definition at line 2027 of file tls.h.

◆ clientAuthMode

TlsClientAuthMode clientAuthMode

Client authentication mode.

Definition at line 2074 of file tls.h.

◆ clientCertRequested

bool_t clientCertRequested

This flag tells whether the client certificate is requested.

Definition at line 2075 of file tls.h.

◆ clientCertTypeExtReceived

bool_t clientCertTypeExtReceived

The ClientCertType extension has been received.

Definition at line 2224 of file tls.h.

◆ clientRandom

uint8_t clientRandom[TLS_RANDOM_SIZE]

Client random value.

Definition at line 2101 of file tls.h.

◆ clientVerifyData

uint8_t clientVerifyData[64]

Client verify data.

Definition at line 2105 of file tls.h.

◆ clientVerifyDataLen

size_t clientVerifyDataLen

Length of the client verify data.

Definition at line 2106 of file tls.h.

◆ clientVersion

uint16_t clientVersion

Latest version supported by the client.

Definition at line 2054 of file tls.h.

◆ closeNotifyReceived

bool_t closeNotifyReceived

A closure alert has been received from the peer.

Definition at line 2081 of file tls.h.

◆ closeNotifySent

bool_t closeNotifySent

A closure alert has been sent.

Definition at line 2080 of file tls.h.

◆ cookie

uint8_t* cookie

Cookie.

Definition at line 2059 of file tls.h.

◆ cookieGenerateCallback

DtlsCookieGenerateCallback cookieGenerateCallback

Cookie generation callback function.

Definition at line 2270 of file tls.h.

◆ cookieLen

size_t cookieLen

Length of the cookie.

Definition at line 2060 of file tls.h.

◆ cookieParam

void* cookieParam

Opaque pointer passed to the cookie callbacks.

Definition at line 2272 of file tls.h.

◆ cookieVerifyCallback

DtlsCookieVerifyCallback cookieVerifyCallback

Cookie verification callback function.

Definition at line 2271 of file tls.h.

◆ decryptionEngine

TlsEncryptionEngine decryptionEngine

Decryption engine.

Definition at line 2111 of file tls.h.

◆ dhContext

DhContext dhContext

Diffie-Hellman context.

Definition at line 2168 of file tls.h.

◆ ecdhCallback

TlsEcdhCallback ecdhCallback

Definition at line 2036 of file tls.h.

◆ ecdhContext

EcdhContext ecdhContext

ECDH context.

Definition at line 2172 of file tls.h.

◆ ecdsaSignCallback

TlsEcdsaSignCallback ecdsaSignCallback

Definition at line 2037 of file tls.h.

◆ ecdsaVerifyCallback

TlsEcdsaVerifyCallback ecdsaVerifyCallback

Definition at line 2038 of file tls.h.

◆ ecPointFormatsExtReceived

bool_t ecPointFormatsExtReceived

The EcPointFormats extension has been received.

Definition at line 2173 of file tls.h.

◆ encryptionEngine

TlsEncryptionEngine encryptionEngine

Encryption engine.

Definition at line 2110 of file tls.h.

◆ entity

Client or server operation.

Definition at line 2018 of file tls.h.

◆ extendedMasterSecretExtReceived

bool_t extendedMasterSecretExtReceived

The ExtendedMasterSecret extension has been received.

Definition at line 2217 of file tls.h.

◆ fallbackScsvEnabled

bool_t fallbackScsvEnabled

Support for FALLBACK_SCSV.

Definition at line 2242 of file tls.h.

◆ fatalAlertReceived

bool_t fatalAlertReceived

A fatal alert message has been received from the peer.

Definition at line 2079 of file tls.h.

◆ fatalAlertSent

bool_t fatalAlertSent

A fatal alert message has been sent.

Definition at line 2078 of file tls.h.

◆ hmacContext

HmacContext hmacContext

HMAC context.

Definition at line 2124 of file tls.h.

◆ keyBlock

uint8_t keyBlock[192]

Key material.

Definition at line 2123 of file tls.h.

◆ keyExchMethod

TlsKeyExchMethod keyExchMethod

Key exchange method.

Definition at line 2068 of file tls.h.

◆ keyLogCallback

TlsKeyLogCallback keyLogCallback

Key logging callback (for debugging purpose only)

Definition at line 2246 of file tls.h.

◆ masterSecret

uint8_t masterSecret[TLS_MASTER_SECRET_SIZE]

Master secret.

Definition at line 2122 of file tls.h.

◆ maxFragLen

size_t maxFragLen

Maximum plaintext fragment length.

Definition at line 2200 of file tls.h.

◆ maxFragLenExtReceived

bool_t maxFragLenExtReceived

The MaxFragmentLength extension has been received.

Definition at line 2201 of file tls.h.

◆ namedGroup

uint16_t namedGroup

ECDHE or FFDHE named group.

Definition at line 2071 of file tls.h.

◆ numCerts

uint_t numCerts

Number of certificates available.

Definition at line 2042 of file tls.h.

◆ numCipherSuites

uint_t numCipherSuites

Number of cipher suites in the list.

Definition at line 2028 of file tls.h.

◆ numSupportedGroups

uint_t numSupportedGroups

Number of named groups in the list.

Definition at line 2031 of file tls.h.

◆ peerCertFormat

TlsCertificateFormat peerCertFormat

Peer's certificate format.

Definition at line 2222 of file tls.h.

◆ peerCertType

TlsCertificateType peerCertType

Peer's certificate type.

Definition at line 2073 of file tls.h.

◆ peerDsaPublicKey

DsaPublicKey peerDsaPublicKey

Peer's DSA public key.

Definition at line 2181 of file tls.h.

◆ peerEcParams

EcDomainParameters peerEcParams

Peer's EC domain parameters.

Definition at line 2185 of file tls.h.

◆ peerEcPublicKey

EcPoint peerEcPublicKey

Peer's EC public key.

Definition at line 2186 of file tls.h.

◆ peerRsaPublicKey

RsaPublicKey peerRsaPublicKey

Peer's RSA public key.

Definition at line 2177 of file tls.h.

◆ pmtu

size_t pmtu

PMTU value.

Definition at line 2266 of file tls.h.

◆ premasterSecret

uint8_t premasterSecret[TLS_PREMASTER_SECRET_SIZE]

Premaster secret.

Definition at line 2103 of file tls.h.

◆ premasterSecretLen

size_t premasterSecretLen

Length of the premaster secret.

Definition at line 2104 of file tls.h.

◆ prevEncryptionEngine

TlsEncryptionEngine prevEncryptionEngine

Definition at line 2292 of file tls.h.

◆ prngAlgo

const PrngAlgo* prngAlgo

Pseudo-random number generator to be used.

Definition at line 2024 of file tls.h.

◆ prngContext

void* prngContext

Pseudo-random number generator context.

Definition at line 2025 of file tls.h.

◆ protocolList

char_t* protocolList

List of supported ALPN protocols.

Definition at line 2211 of file tls.h.

◆ psk

uint8_t* psk

Pre-shared key.

Definition at line 2190 of file tls.h.

◆ pskCallback

TlsPskCallback pskCallback

PSK callback function.

Definition at line 2194 of file tls.h.

◆ pskCipherSuite

uint16_t pskCipherSuite

Cipher suite associated with the PSK.

Definition at line 2195 of file tls.h.

◆ pskHashAlgo

TlsHashAlgo pskHashAlgo

Hash algorithm associated with the PSK.

Definition at line 2196 of file tls.h.

◆ pskIdentity

char_t* pskIdentity

PSK identity.

Definition at line 2192 of file tls.h.

◆ pskIdentityHint

char_t* pskIdentityHint

PSK identity hint.

Definition at line 2193 of file tls.h.

◆ pskLen

size_t pskLen

Length of the pre-shared key, in bytes.

Definition at line 2191 of file tls.h.

◆ recordSizeLimit

size_t recordSizeLimit

Maximum record size the peer is willing to receive.

Definition at line 2205 of file tls.h.

◆ recordSizeLimitExtReceived

bool_t recordSizeLimitExtReceived

The RecordSizeLimit extension has been received.

Definition at line 2206 of file tls.h.

◆ replayDetectionEnabled

bool_t replayDetectionEnabled

Anti-replay mechanism enabled.

Definition at line 2288 of file tls.h.

◆ replayWindow

uint32_t replayWindow[(DTLS_REPLAY_WINDOW_SIZE+31)/32]

Definition at line 2289 of file tls.h.

◆ resume

bool_t resume

The connection is established by resuming a session.

Definition at line 2077 of file tls.h.

◆ retransmitCount

uint_t retransmitCount

Retransmission counter.

Definition at line 2274 of file tls.h.

◆ retransmitTimeout

systime_t retransmitTimeout

Retransmission timeout.

Definition at line 2276 of file tls.h.

◆ retransmitTimestamp

systime_t retransmitTimestamp

Time at which the datagram was sent.

Definition at line 2275 of file tls.h.

◆ rpkVerifyCallback

TlsRpkVerifyCallback rpkVerifyCallback

Raw public key verification callback function.

Definition at line 2223 of file tls.h.

◆ rxBuffer

uint8_t* rxBuffer

RX buffer.

Definition at line 2092 of file tls.h.

◆ rxBufferLen

size_t rxBufferLen

Number of bytes available for reading.

Definition at line 2096 of file tls.h.

◆ rxBufferMaxLen

size_t rxBufferMaxLen

Maximum number of plaintext data the RX buffer can hold.

Definition at line 2094 of file tls.h.

◆ rxBufferPos

size_t rxBufferPos

Current position in RX buffer.

Definition at line 2097 of file tls.h.

◆ rxBufferSize

size_t rxBufferSize

RX buffer size.

Definition at line 2093 of file tls.h.

◆ rxBufferType

TlsContentType rxBufferType

Type of data that resides in the RX buffer.

Definition at line 2095 of file tls.h.

◆ rxDatagramLen

size_t rxDatagramLen

Length of the incoming datagram, in bytes.

Definition at line 2283 of file tls.h.

◆ rxDatagramPos

size_t rxDatagramPos

Definition at line 2284 of file tls.h.

◆ rxFragQueueLen

size_t rxFragQueueLen

Length of the reassembly queue.

Definition at line 2282 of file tls.h.

◆ rxMsgSeq

uint16_t rxMsgSeq

Next receive sequence number.

Definition at line 2281 of file tls.h.

◆ rxRecordLen

size_t rxRecordLen

Length of the TLS record.

Definition at line 2098 of file tls.h.

◆ rxRecordPos

size_t rxRecordPos

Current position in the TLS record.

Definition at line 2099 of file tls.h.

◆ rxRecordVersion

uint16_t rxRecordVersion

Version of the incoming record.

Definition at line 2285 of file tls.h.

◆ secureRenegoEnabled

bool_t secureRenegoEnabled

Secure renegotiation enabled.

Definition at line 2237 of file tls.h.

◆ secureRenegoFlag

bool_t secureRenegoFlag

Secure renegotiation flag.

Definition at line 2238 of file tls.h.

◆ selectedProtocol

char_t* selectedProtocol

Selected ALPN protocol.

Definition at line 2212 of file tls.h.

◆ serverCertTypeExtReceived

bool_t serverCertTypeExtReceived

The ServerCertType extension has been received.

Definition at line 2225 of file tls.h.

◆ serverName

char_t* serverName

Fully qualified DNS hostname of the server.

Definition at line 2033 of file tls.h.

◆ serverRandom

uint8_t serverRandom[TLS_RANDOM_SIZE]

Server random value.

Definition at line 2102 of file tls.h.

◆ serverVerifyData

uint8_t serverVerifyData[64]

Server verify data.

Definition at line 2107 of file tls.h.

◆ serverVerifyDataLen

size_t serverVerifyDataLen

Length of the server verify data.

Definition at line 2108 of file tls.h.

◆ sessionId

uint8_t sessionId[32]

Session identifier.

Definition at line 2051 of file tls.h.

◆ sessionIdLen

size_t sessionIdLen

Length of the session identifier.

Definition at line 2052 of file tls.h.

◆ sessionTicketEnabled

bool_t sessionTicketEnabled

Session ticket mechanism enabled.

Definition at line 2229 of file tls.h.

◆ sessionTicketExtReceived

bool_t sessionTicketExtReceived

The SessionTicket extension has been received.

Definition at line 2230 of file tls.h.

◆ signAlgo

TlsSignatureAlgo signAlgo

Signature algorithm to be used.

Definition at line 2069 of file tls.h.

◆ signHashAlgo

TlsHashAlgo signHashAlgo

Hash algorithm used for signing.

Definition at line 2070 of file tls.h.

◆ socketHandle

TlsSocketHandle socketHandle

Socket handle.

Definition at line 2020 of file tls.h.

◆ socketReceiveCallback

TlsSocketReceiveCallback socketReceiveCallback

Socket receive callback function.

Definition at line 2022 of file tls.h.

◆ socketSendCallback

TlsSocketSendCallback socketSendCallback

Socket send callback function.

Definition at line 2021 of file tls.h.

◆ startTime

systime_t startTime

Definition at line 2268 of file tls.h.

◆ state

TlsState state

TLS handshake finite state machine.

Definition at line 2016 of file tls.h.

◆ supportedGroups

const uint16_t* supportedGroups

List of supported named groups.

Definition at line 2030 of file tls.h.

◆ ticket

uint8_t* ticket

Session ticket.

Definition at line 2062 of file tls.h.

◆ ticketDecryptCallback

TlsTicketDecryptCallback ticketDecryptCallback

Ticket decryption callback function.

Definition at line 2232 of file tls.h.

◆ ticketEncryptCallback

TlsTicketEncryptCallback ticketEncryptCallback

Ticket encryption callback function.

Definition at line 2231 of file tls.h.

◆ ticketLen

size_t ticketLen

Length of the session ticket.

Definition at line 2063 of file tls.h.

◆ ticketLifetime

uint32_t ticketLifetime

Lifetime of the ticket.

Definition at line 2065 of file tls.h.

◆ ticketParam

void* ticketParam

Opaque pointer passed to the ticket callbacks.

Definition at line 2233 of file tls.h.

◆ ticketTimestamp

systime_t ticketTimestamp

Timestamp to manage ticket lifetime.

Definition at line 2064 of file tls.h.

◆ timeout

systime_t timeout

Timeout for blocking calls.

Definition at line 2267 of file tls.h.

◆ transcriptHashContext

HashContext* transcriptHashContext

Hash context used to compute verify data.

Definition at line 2129 of file tls.h.

◆ transcriptMd5Context

Md5Context* transcriptMd5Context

MD5 context used to compute verify data.

Definition at line 2118 of file tls.h.

◆ transcriptSha1Context

Sha1Context* transcriptSha1Context

SHA-1 context used to compute verify data.

Definition at line 2125 of file tls.h.

◆ transportProtocol

TlsTransportProtocol transportProtocol

Transport protocol (stream or datagram)

Definition at line 2017 of file tls.h.

◆ trustedCaList

const char_t* trustedCaList

List of trusted CA (PEM format)

Definition at line 2043 of file tls.h.

◆ trustedCaListLen

size_t trustedCaListLen

Number of trusted CA in the list.

Definition at line 2044 of file tls.h.

◆ txBuffer

uint8_t* txBuffer

TX buffer.

Definition at line 2083 of file tls.h.

◆ txBufferLen

size_t txBufferLen

Number of bytes that are pending to be sent.

Definition at line 2087 of file tls.h.

◆ txBufferMaxLen

size_t txBufferMaxLen

Maximum number of plaintext data the TX buffer can hold.

Definition at line 2085 of file tls.h.

◆ txBufferPos

size_t txBufferPos

Current position in TX buffer.

Definition at line 2088 of file tls.h.

◆ txBufferSize

size_t txBufferSize

TX buffer size.

Definition at line 2084 of file tls.h.

◆ txBufferType

TlsContentType txBufferType

Type of data that resides in the TX buffer.

Definition at line 2086 of file tls.h.

◆ txDatagramLen

size_t txDatagramLen

Length of the outgoing datagram, in bytes.

Definition at line 2279 of file tls.h.

◆ txLastRecordLen

size_t txLastRecordLen

Length of the previous TLS record.

Definition at line 2114 of file tls.h.

◆ txMsgSeq

uint16_t txMsgSeq

Send sequence number.

Definition at line 2278 of file tls.h.

◆ txRecordLen

size_t txRecordLen

Length of the TLS record.

Definition at line 2089 of file tls.h.

◆ txRecordPos

size_t txRecordPos

Current position in the TLS record.

Definition at line 2090 of file tls.h.

◆ unknownProtocolsAllowed

bool_t unknownProtocolsAllowed

Unknown ALPN protocols allowed.

Definition at line 2210 of file tls.h.

◆ version

uint16_t version

Negotiated TLS version.

Definition at line 2055 of file tls.h.

◆ versionMax

uint16_t versionMax

Maximum version accepted by the implementation.

Definition at line 2057 of file tls.h.

◆ versionMin

uint16_t versionMin

Minimum version accepted by the implementation.

Definition at line 2056 of file tls.h.


The documentation for this struct was generated from the following file: