CipherSuite.h File Reference
#include <WString.h>
#include <FlashString/Array.hpp>
Include dependency graph for CipherSuite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Ssl
 
 Ssl::CipherSuites
 Standard cipher suite options The actual suites are implementation-specific.
 

Macros

#define SSL_CIPHER_SUITE_MAP(XX)
 Cipher suites. More...
 
#define XX(tag, code)   tag = code,
 
Declare/Define an array of supported cipher suites, in flash memory
#define DECLARE_CIPHER_SUITES(name)   DECLARE_FSTR_ARRAY(name, Ssl::CipherSuite)
 
#define DEFINE_CIPHER_SUITES(name, ...)   DEFINE_FSTR_ARRAY(name, Ssl::CipherSuite, __VA_ARGS__)
 

Typedefs

using Ssl::CipherSuites::Array = FSTR::Array< Ssl::CipherSuite >
 

Enumerations

enum  Ssl::CipherSuite : uint16_t { Ssl::CipherSuite::XX }
 Cipher suite identifier. More...
 

Functions

String Ssl::toString (CipherSuite id)
 Gets the name of the cipher suite. More...
 
Standard cipher suites lists
 Ssl::CipherSuites::DECLARE_CIPHER_SUITES (basic)
 Supported by all adapters. More...
 
 Ssl::CipherSuites::DECLARE_CIPHER_SUITES (full)
 Adapter-specific. More...
 

Macro Definition Documentation

◆ DECLARE_CIPHER_SUITES

#define DECLARE_CIPHER_SUITES (   name)    DECLARE_FSTR_ARRAY(name, Ssl::CipherSuite)

◆ DEFINE_CIPHER_SUITES

#define DEFINE_CIPHER_SUITES (   name,
  ... 
)    DEFINE_FSTR_ARRAY(name, Ssl::CipherSuite, __VA_ARGS__)

◆ SSL_CIPHER_SUITE_MAP

#define SSL_CIPHER_SUITE_MAP (   XX)

Cipher suites.

TLS v1.2 https://tools.ietf.org/html/rfc5246#appendix-A.5 TLS v1.3 https://tools.ietf.org/html/rfc8446#appendix-B.4

Courtesy of Bear SSL. Defined here so they're not tied into any specific implementation.

◆ XX

#define XX (   tag,
  code 
)    tag = code,