summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_signer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a signer interface intented to make TLS privsep simplereric2022-01-251-0/+376
to implement. Add a tls_config_set_sign_cb() function that allows to register a callback for the signing operation on a tls_config. When used, the context installs fake pivate keys internally, and the callback receives the hash of the public key. Add a tls_signer_*() set of functions to manage tls_signer objects. A tls_signer is an opaque structure on which keys are added. It is used to compute signatures with private keys identified by their associated public key hash. Discussed with and ok jsing@ tb@