nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
nrf_tls_key_settings_t Struct Reference

Key settings to be used for TLS instance. More...

#include <nrf_tls.h>

Data Fields

nrf_tls_certificate_tp_own_certificate
 
unsigned char * p_ca_cert_pem
 
nrf_tls_preshared_key_tp_psk
 
nrf_tls_raw_key_tp_raw_key
 

Detailed Description

Key settings to be used for TLS instance.

Field Documentation

unsigned char* nrf_tls_key_settings_t::p_ca_cert_pem

CA certificate in PEM formart.

nrf_tls_certificate_t* nrf_tls_key_settings_t::p_own_certificate

Own certificate to be used for the instance. Can be NULL.

nrf_tls_preshared_key_t* nrf_tls_key_settings_t::p_psk

Identitiy and shared secret in case pre-shared key is used. Can be NULL.

nrf_tls_raw_key_t* nrf_tls_key_settings_t::p_raw_key

Public and private key in case RAW keys are used. This method is not currently supported.