TS_ESS_CERT_ID_CHAIN
TS_ESS_CERT_ID_CHAIN, ctx);
certs = ctx->flags & TS_ESS_CERT_ID_CHAIN ? ctx->certs : NULL;