folly::ssl::setCipherSuites

setCipherSuites overloads

Synopses

Declared in <folly/io/async/SSLOptions.h>

Set the cipher suite of ctx to that in TSSLOptions, and print any runtime error it catches.

template<typename TSSLOptions>
void
setCipherSuites(SSLContext& ctx);
» more...

Set the cipher suite of ctx to the passed in cipherList, and print any runtime error it catches.

template<typename Container>
void
setCipherSuites(
    SSLContext& ctx,
    Container const& cipherList);
» more...

Parameters

NameDescription
ctxThe SSLContext to apply the desired SSL options to.
cipherListthe list of ciphersuites to set