pub type KeyCredential = *mut c_void;