Thanks for your pointers. I searched a bit further and noticed the existence of a STORE method and the associated (un)register functions with an engine. Looking at its API, it looks like it provides the key and certificate loading function signatures that I need. Therefore, I was considering implementing (a subset of) the STORE method functions in my engine.