ngtcp2_conn_get_0rtt_crypto_ctx

Synopsis

#include <ngtcp2/ngtcp2.h>

const ngtcp2_crypto_ctx *ngtcp2_conn_get_0rtt_crypto_ctx(ngtcp2_conn *conn)

Warning

Deprecated since version 1.23.0: Use ngtcp2_conn_get_0rtt_crypto_ctx2() instead.

ngtcp2_conn_get_0rtt_crypto_ctx() returns ngtcp2_crypto_ctx object for 0-RTT packet encryption.