vector<string> TSSslClientContextsGet();
TSSslContext TSSslClientContextFind(const string name);

ATS has APIs for server context retrieval (TSSslContextFindByName(),
TSSslContextFindByAddr()). It would be useful to expose client context via
APIs too.


I would like to propose new APIs for this purpose. Given client context are
stored in unordered_map, TSSslClientContextsGet() will return all keys
(essentially the path to CA/cert files) in a vector;
TSSslClientContextFid() will return the context corresponding to the input
string.




[image: work-eat-sleep--400090.jpg]

*Zeyuan Yu*
Software Development Engineer, Verizon Media Group

work: 217.369.5086

personal: 217.898.1085

Reply via email to