std1.0.0-beta-7 SafeC docs

std :: crypto::tls

Struct std::TlsRecord

#include <std/crypto/tls.h> source

struct TlsRecord {
    unsigned char content_type;
    unsigned char legacy_version_major;
    unsigned char legacy_version_minor;
    unsigned short length;
}

Fields

§unsigned char content_typesource
§unsigned char legacy_version_majorsource

0x03

§unsigned char legacy_version_minorsource

0x03 for TLS 1.2 compat

§unsigned short lengthsource

payload length (host byte order)