NAME
SSLgetciphers, SSLgetcipherlist - get list of available
SSLCIPHERsSYNOPSIS
#include
STACKOF(SSLCIPHER) *SSLgetciphers(const SSL *ssl); const char *SSLgetcipherlist(const SSL *ssl, int priority);DESCRIPTION
SSLgetciphers() returns the stack of available SSLCIPHERs for ssssll, sorted by preference. If ssssll is NULL or no ciphers are available, NULL is returned. SSLgetcipherlist() returns a pointer to the name of the SSLCIPHER listed for ssssll with pprriioorriittyy. If ssssll is NULL, no ciphers are available, or there are less ciphers than pprriioorriittyy available, NULL is returned. NNOOTTEESS The details of the ciphers obtained by SSLgetciphers() can be obtained using the SSLCIPHERgetname(3) family of functions. Call SSLgetcipherlist() with pprriioorriittyy starting from 0 to obtain the sorted list of available ciphers, until NULL is returned.RETURN VALUES
See DESCRIPTION
SEE ALSO
ssl(3), SSLCTXsetcipherlist(3), SSLCIPHERgetname(3)0.9.7l 2005-03-30 SSLgetciphers(3)