Add an internal API to access the KEYMGMT provider functions