AWS IoT Embedded C Device SDK
network_platform.h
1 /*
2  * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef IOTSDKC_NETWORK_MBEDTLS_PLATFORM_H_H
17 
18 #include "mbedtls/config.h"
19 
20 #include "mbedtls/net.h"
21 #include "mbedtls/ssl.h"
22 #include "mbedtls/entropy.h"
23 #include "mbedtls/ctr_drbg.h"
24 #include "mbedtls/certs.h"
25 #include "mbedtls/x509.h"
26 #include "mbedtls/error.h"
27 #include "mbedtls/debug.h"
28 #include "mbedtls/timing.h"
29 
36 typedef struct _TLSDataParams {
37  mbedtls_entropy_context entropy;
38  mbedtls_ctr_drbg_context ctr_drbg;
39  mbedtls_ssl_context ssl;
40  mbedtls_ssl_config conf;
41  uint32_t flags;
42  mbedtls_x509_crt cacert;
43  mbedtls_x509_crt clicert;
44  mbedtls_pk_context pkey;
45  mbedtls_net_context server_fd;
47 
48 #define IOTSDKC_NETWORK_MBEDTLS_PLATFORM_H_H
49 
50 #endif //IOTSDKC_NETWORK_MBEDTLS_PLATFORM_H_H
TLS Connection Parameters.
Definition: network_platform.h:36