ngtcp2_conn_set_crypto_ctx
Synopsis
#include <ngtcp2/ngtcp2.h>
- 
void ngtcp2_conn_set_crypto_ctx(ngtcp2_conn *conn, const ngtcp2_crypto_ctx *ctx)
 ngtcp2_conn_set_crypto_ctx()sets ctx for Handshake/1-RTT packet encryption. The passed data will be passed tongtcp2_encrypt,ngtcp2_decryptandngtcp2_hp_maskcallbacks.