nrf_tls_key_settings_t

nRF5 SDK v15.0.0

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

#include <nrf_tls.h>

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.

  • external/nrf_tls/nrf_tls.h