Jim Flynn / Mbed OS aws-iot-device-sdk-mbed-c
Embed: (wiki syntax)

« Back to documentation index

TLSConnectParams Struct Reference

TLSConnectParams Struct Reference

TLS Connection Parameters. More...

#include <network_interface.h>

Data Fields

char * pRootCALocation
 Pointer to string containing the filename (including path) of the root CA file.
char * pDeviceCertLocation
 Pointer to string containing the filename (including path) of the device certificate.
char * pDevicePrivateKeyLocation
 Pointer to string containing the filename (including path) of the device private key file.
char * pDestinationURL
 Pointer to string containing the endpoint of the MQTT service.
uint16_t DestinationPort
 Integer defining the connection port of the MQTT service.
uint32_t timeout_ms
 Unsigned integer defining the TLS handshake timeout value in milliseconds.
bool ServerVerificationFlag
 Boolean. True = perform server certificate hostname validation. False = skip validation NOT recommended.

Detailed Description

TLS Connection Parameters.

Defines a type containing TLS specific parameters to be passed down to the TLS networking layer to create a TLS secured socket.

Definition at line 50 of file network_interface.h.


Field Documentation

uint16_t DestinationPort

Integer defining the connection port of the MQTT service.

Definition at line 55 of file network_interface.h.

Pointer to string containing the endpoint of the MQTT service.

Definition at line 54 of file network_interface.h.

Pointer to string containing the filename (including path) of the device certificate.

Definition at line 52 of file network_interface.h.

Pointer to string containing the filename (including path) of the device private key file.

Definition at line 53 of file network_interface.h.

Pointer to string containing the filename (including path) of the root CA file.

Definition at line 51 of file network_interface.h.

Boolean. True = perform server certificate hostname validation. False = skip validation NOT recommended.

Definition at line 57 of file network_interface.h.

uint32_t timeout_ms

Unsigned integer defining the TLS handshake timeout value in milliseconds.

Definition at line 56 of file network_interface.h.