nRF5 SDK v15.2.0
Data Fields
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
 
uint8_t * p_ca_cert_pem
 
uint16_t ca_cert_pem_len
 
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

uint16_t nrf_tls_key_settings_t::ca_cert_pem_len

Length of the CA certificate.

uint8_t* 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.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated