anjay
anjay_security_hsm_configuration_t Struct Reference

#include <security.h>

Data Fields

anjay_security_hsm_query_cb_tpublic_cert_cb
 
void * public_cert_cb_arg
 
anjay_security_hsm_query_cb_tprivate_key_cb
 
void * private_key_cb_arg
 
anjay_security_hsm_query_cb_tpsk_identity_cb
 
void * psk_identity_cb_arg
 
anjay_security_hsm_query_cb_tpsk_key_cb
 
void * psk_key_cb_arg
 
anjay_security_hsm_query_cb_tsms_psk_identity_cb
 
void * sms_psk_identity_cb_arg
 
anjay_security_hsm_query_cb_tsms_psk_key_cb
 
void * sms_psk_key_cb_arg
 

Detailed Description

Configuration of the callbacks for generating the query string addresses under which different kinds of security credentials will be stored on the hardware security engine.

Field Documentation

◆ private_key_cb

Callback function that will be called whenever a client private key needs to be stored in an external security engine.

If NULL, client private keys will be stored in main system memory unless explicitly requested via either EST or the private_key field in anjay_security_instance_t.

◆ private_key_cb_arg

void* private_key_cb_arg

Opaque argument that will be passed to the function configured in the private_key_cb field.

If private_key_cb is NULL, this field is ignored.

◆ psk_identity_cb

Callback function that will be called whenever a PSK identity for use with the main connection needs to be stored in an external security engine.

If NULL, PSK identities for use with the main connection will be stored in main system memory unless explicitly requested via the psk_identity field in anjay_security_instance_t.

◆ psk_identity_cb_arg

void* psk_identity_cb_arg

Opaque argument that will be passed to the function configured in the psk_identity_cb field.

If psk_identity_cb is NULL, this field is ignored.

◆ psk_key_cb

Callback function that will be called whenever a PSK key for use with the main connection needs to be stored in an external security engine.

If NULL, PSK keys for use with the main connection will be stored in main system memory unless explicitly requested via the psk_key field in anjay_security_instance_t.

◆ psk_key_cb_arg

void* psk_key_cb_arg

Opaque argument that will be passed to the function configured in the psk_key_cb field.

If psk_key_cb is NULL, this field is ignored.

◆ public_cert_cb

Callback function that will be called whenever a public client certificate needs to be stored in an external security engine.

If NULL, public client certificates will be stored in main system memory unless explicitly requested via either EST or the public_cert field in anjay_security_instance_t.

◆ public_cert_cb_arg

void* public_cert_cb_arg

Opaque argument that will be passed to the function configured in the public_cert_cb field.

If public_cert_cb is NULL, this field is ignored.

◆ sms_psk_identity_cb

anjay_security_hsm_query_cb_t* sms_psk_identity_cb

Callback function that will be called whenever a PSK identity for use with SMS binding needs to be stored in an external security engine.

If NULL, PSK identities for use with SMS binding will be stored in main system memory unless explicitly requested via the sms_psk_identity field in anjay_security_instance_t.

◆ sms_psk_identity_cb_arg

void* sms_psk_identity_cb_arg

Opaque argument that will be passed to the function configured in the sms_psk_identity_cb field.

If sms_psk_identity_cb is NULL, this field is ignored.

◆ sms_psk_key_cb

Callback function that will be called whenever a PSK key for use with SMS binding needs to be stored in an external security engine.

If NULL, PSK keys for use with SMS binding will be stored in main system memory unless explicitly requested via the sms_psk_key field in anjay_security_instance_t.

◆ sms_psk_key_cb_arg

void* sms_psk_key_cb_arg

Opaque argument that will be passed to the function configured in the sms_psk_key_cb field.

If sms_psk_key_cb is NULL, this field is ignored.


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