Example:
assert(dtls13Label("c hs traffic") == "dtls13 c hs traffic");
assert(dtls13Label("derived") == "dtls13 derived");string dtls13Label(string tls13Label) pure nothrow @safeConverts a TLS 1.3 label to DTLS 1.3 format.
DTLS 1.3 uses a different label prefix than TLS 1.3. This function prepends the DTLS 1.3 prefix to a bare label string.
tls13Label | The TLS 1.3 label without prefix (e.g., "c hs traffic"). |
Example:
assert(dtls13Label("c hs traffic") == "dtls13 c hs traffic");
assert(dtls13Label("derived") == "dtls13 derived");