In regards to research I'm struggling to imagine useful applications of being able to create such raw files. Also, as it's a general term for a file containing raw sensor data, it would be different across sensors.
In any case, perhaps some kind of hardware-signed cryptography scheme on the files from the camera could be used in lieu of this development in the future.
In any case, perhaps some kind of hardware-signed cryptography scheme on the files from the camera could be used in lieu of this development in the future.