SceneGate / Ekona

.NET implementation of DS and DSi file formats
https://scenegate.github.io/Ekona/
MIT License
25 stars 1 forks source link

:sparkles: Add API to verify all the hashes and signature #37

Closed pleonex closed 4 months ago

pleonex commented 4 months ago

Add a couple of methods to verify the status of every hash in the ROM header. They take into a account if the hash is present or not, depending on the console (DS / DSi). It also verifies the signature only on DSi software.

Also bump dependencies.

Quality check list

Acceptance criteria

One API to verify the validity of a ROM

Follow-up work

None

Example

bool hasValidHashes = programInfo.HasValidHashes();
bool hasValidSignature = programInfo.HasValidSignature();