Network Services API  1.11.00.10
Data Structures | Typedefs | Functions
tls.h File Reference
#include <stdint.h>
Include dependency graph for tls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  TLS_Params
 TLS instance paramaters. More...
 

Typedefs

typedef void * TLS_Handle
 
typedef struct TLS_Params TLS_Params
 TLS instance paramaters. More...
 

Functions

void TLS_Params_init (TLS_Params *params)
 Initialize the TLS Params structure to default values. More...
 
TLS_Handle TLS_create (TLS_Method method, TLS_Params *params, char *certDir)
 Allocate and initialize a new TLS context and return its handle. More...
 
void TLS_delete (TLS_Handle *tls)
 Destroy the TLS context instance and free the previously allocated instance object. More...
 

TLS Method

enum  TLS_Method {
  TLS_METHOD_CLIENT_TLSV1 = 1,
  TLS_METHOD_CLIENT_TLSV1_1,
  TLS_METHOD_CLIENT_TLSV1_2,
  TLS_METHOD_SERVER_TLSV1,
  TLS_METHOD_SERVER_TLSV1_1,
  TLS_METHOD_SERVER_TLSV1_2
}
 
typedef enum TLS_Method TLS_Method
 
Copyright 2016, Texas Instruments Incorporated