SSLconfig.h File Reference
#include <set>
#include <list>
#include <string>
#include <vector>
#include <isode/base/compat.h>
#include <isode/base/messages.h>
#include <isode/crypto/cipher_suites.h>
#include <crypto/icrypto/include/icrypto.hpp>
#include "cdecl.h"

Go to the source code of this file.

Data Structures

class  SSLTLS::Config
 Class for SSL configuration. More...
 
class  SSLTLS::Context
 Class defining an SSL context. More...
 

Macros

#define IC_TLS_IMPLEMENTATION_VERSION   3
 Interface for application configuration object for SSL/TLS.
 

Typedefs

typedef std::set< TLS_CipherSuite > SSLTLS::cipher_suites_t
 Set of Cipher Suites (using the number)
 

Enumerations

enum  SSLTLS::tls_verify_client_choice { tls_verify_none , tls_verify_optional , tls_verify_require }
 Values for choosing client verification. More...
 

Functions

EVENTSVC_DLL const char * SSLTLS::suite_name (TLS_CipherSuite)
 Function returning a name for a cipher suite.
 

Macro Definition Documentation

◆ IC_TLS_IMPLEMENTATION_VERSION

#define IC_TLS_IMPLEMENTATION_VERSION   3

Interface for application configuration object for SSL/TLS.

Definition at line 39 of file SSLconfig.h.

Typedef Documentation

◆ cipher_suites_t

typedef std::set<TLS_CipherSuite> SSLTLS::cipher_suites_t

Set of Cipher Suites (using the number)

Definition at line 44 of file SSLconfig.h.

Enumeration Type Documentation

◆ tls_verify_client_choice

Values for choosing client verification.

Definition at line 51 of file SSLconfig.h.

51 {
52 tls_verify_none,
53 tls_verify_optional,
54 tls_verify_require
tls_verify_client_choice
Values for choosing client verification.
Definition SSLconfig.h:51

Function Documentation

◆ suite_name()

const char * SSLTLS::suite_name ( TLS_CipherSuite  suite)

Function returning a name for a cipher suite.

(This gives the OpenSSL name so isn't ideal for all purposes.)

Definition at line 64 of file ssl_context.C.

65 {
66 SuiteToName::const_iterator i = suite_names.find(suite);
67 return i==suite_names.end() ? "":i->second.c_str();
68 }

References SSLTLS::suite_name().

Referenced by SSLTLS::suite_name().

All rights reserved © 2002 - 2024 Isode Ltd.