Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PKCS11 URL as a possible TLS key
The current interface expects a file name for the key. This commit allows a PKCS11 URL to pass the setter validation. The API can be used as in this example: mosquitto_tls_set(mosq, cafile, capath, certfile, "pkcs11:token=...", pw_callback); mosquitto_string_option(mosq, MOSQ_OPT_TLS_ENGINE, "pkcs11"); mosquitto_string_option(mosq, MOSQ_OPT_TLS_KEYFORM, "engine"); Signed-off-by: Matt Woelfel <[email protected]>
- Loading branch information