Skip to main content

cfm_keystore_get_secret

Function cfm_keystore_get_secret 

Source
#[unsafe(no_mangle)]
pub extern "C" fn cfm_keystore_get_secret( ks: *mut FFIKeystore, module_id: *const c_char, app_id: *const c_char, key_id: *const c_char, out: *mut *mut FFIKey, ) -> u32
Expand description

Fetch a secret key from the private compartment.

On success writes the opaque key handle into *out.