Non-owning view of a TLS pre-shared-key identity. More...
#include <tlsextensions.h>
Data Fields | |
| const uint8_t * | identity |
| size_t | identitylen |
| uint32_t | obfuscatedticketage |
Non-owning view of a TLS pre-shared-key identity.
This structure represents a PSK identity entry as used by the TLS 1.3 pre_shared_key extension. The identity pointer is non-owning and may either refer to caller-owned ticket bytes during encoding or to bytes inside an encoded extension buffer during decoding.
| const uint8_t* identity |
Pointer to the PSK identity or ticket byte string.
| size_t identitylen |
Length, in bytes, of the PSK identity.
| uint32_t obfuscatedticketage |
Obfuscated ticket age value encoded with the identity.