Struct anjay_security_hsm_configuration_t

Struct Documentation

struct anjay_security_hsm_configuration_t

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.

Public Members

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

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.

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

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.

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

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.

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

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.

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.

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.

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

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.