#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_device_identity_public_key(
identity: *const PamojaDeviceIdentity,
out_public_key: *mut u8,
) -> PamojaStatusExpand description
Writes the public key matching a device identity.
§Returns
PamojaStatus::Ok on success, having written PAMOJA_KEY_LEN bytes to
out_public_key.
§Safety
identity must be a live handle from pamoja_device_identity_new, and
out_public_key must point to at least PAMOJA_KEY_LEN writable bytes.