Return the preference‐ordered stack of enabled ciphers that would be sent in a ClientHello.

Synopsis

Declared in <openssl/ssl.h>

stack_st_SSL_CIPHER*
SSL_get1_supported_ciphers(SSL* s);

Return Value

Newly allocated stack of SSL_CIPHER objects (free with sk_SSL_CIPHER_free), or NULL if s is NULL / none available.

Parameters

Name

Description

s

SSL connection to query; list depends on cipher list, protocol versions, security level, and signature algorithms.

Created with MrDocs