Embedded Wireless Framework
Data Structures | Macros | Typedefs | Enumerations | Functions
ewf_adapter_api_gnss.h File Reference

The Embedded Wireless Framework adapter DTLS API. More...

#include "ewf.h"

Go to the source code of this file.

Data Structures

struct  _ewf_adapter_dtls_context_info
 the DTLS context information type More...
 
struct  _ewf_adapter_api_dtls
 the DTLS context API structure More...
 

Macros

#define EWF_DTLS_CONTEXT_SETTING_TLS_VERSION   "tls version"
 
#define EWF_DTLS_CONTEXT_SETTING_DTLS_VERSION   "dtls version"
 
#define EWF_DTLS_CONTEXT_SETTING_CIPHER_SUITE   "cipher"
 

Typedefs

typedef int ewf_adapter_dtls_context_handle
 the DTLS context handle type
 
typedef struct _ewf_adapter_dtls_context_info ewf_adapter_dtls_context_info
 the DTLS context information type
 
typedef enum _ewf_adapter_dtls_context_version ewf_adapter_dtls_context_version
 the DTLS context version type
 
typedef enum _ewf_adapter_dtls_context_cipher_suite ewf_adapter_dtls_context_cipher_suite
 the DTLS context cipher suite type
 
typedef struct _ewf_adapter_api_dtls ewf_adapter_api_dtls
 the DTLS context API structure
 

Enumerations

enum  _ewf_adapter_dtls_context_version { DTLS_1_0 = 0x0100 , DTLS_1_2 = 0x0102 , DTLS_1_0 = 0x0100 , DTLS_1_2 = 0x0102 }
 the DTLS context version type
 
enum  _ewf_adapter_dtls_context_cipher_suite {
  EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ALL , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_AES_256_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_AES_128_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_RC4_128_SHA ,
  EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_RC4_128_MD5 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_3DES_EDE_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_AES_256_CBC_SHA256 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_RC4_128_SHA ,
  EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_128_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_256_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_128_CBC_SHA256 ,
  EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_256_CBC_SHA384 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_128_GCM_SHA256 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ALL , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_AES_256_CBC_SHA ,
  EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_AES_128_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_RC4_128_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_RC4_128_MD5 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_3DES_EDE_CBC_SHA ,
  EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_RSA_WITH_AES_256_CBC_SHA256 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_RC4_128_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_128_CBC_SHA ,
  EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_256_CBC_SHA , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_128_CBC_SHA256 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_256_CBC_SHA384 , EWF_ADAPTER_DTLS_CONTEXT_CIPHER_SUITE_ECDHE_RSA_WITH_AES_128_GCM_SHA256
}
 the DTLS context cipher suite type
 

Functions

ewf_result ewf_adapter_dtls_set_version (ewf_adapter *adapter_ptr, ewf_adapter_dtls_context_handle context_handle, ewf_adapter_dtls_context_version *version_ptr)
 Set the DTLS version to be used.
 
ewf_result ewf_adapter_dtls_context_set_cipher_suite (ewf_adapter *adapter_ptr, ewf_adapter_dtls_context_handle context_handle, ewf_adapter_dtls_context_cipher_suite cipher_suite)
 Set the DTLS cipher suite.
 
ewf_result ewf_adapter_dtls_context_configure_custom_parameter (ewf_adapter *adapter_ptr, ewf_adapter_dtls_context_handle context_handle, const char *parameter, const char *value)
 Set a custom DTLS parameter value.
 

Detailed Description

The Embedded Wireless Framework adapter DTLS API.

Version
Preview