vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

OpenSSLContext.setCipherList - multiple declarations

Function OpenSSLContext.setCipherList

Set the list of cipher specifications to use for SSL/TLS tunnels.

void setCipherList (
  string list = null
) @trusted;

The list must be a colon separated list of cipher specifications as accepted by OpenSSL. Calling this function without argument will restore the default.

The default is derived from https://wiki.mozilla.org/Security/Server_Side_TLS, using the "intermediate" list for TLSv1.2+ server contexts or using the "old compatibility" list otherwise.

See also

https://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT

Function TLSContext.setCipherList

Set the list of cipher specifications to use for TLS tunnels.

abstract void setCipherList (
  string list = null
) @safe;

The list must be a colon separated list of cipher specifications as accepted by OpenSSL. Calling this function without argument will restore the default.

See also

https://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT

Authors

Sönke Ludwig

Copyright

© 2012-2014 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.