Skip to content

v0.5.0

Compare
Choose a tag to compare
@tsenger tsenger released this 29 Oct 13:53
· 25 commits to main since this release

Added

  • a parser/encoder for a new draft of "ICAO Datastructure for Barcodes". The methods for using the parser and encoder are still in alpha stadium and differs from the VDS parser/encoder but already useable

Changed

  • BIG restructure and simplified parser/encoder for VDS which leads to BREAKING changes in the parser/encoder callings. But now they are much easier to use. The README has already been adapted accordingly.
  • Removed all Enums for VdsType and Feature and replaced it with Strings which are parse dynamic from a seal coding definition JSON-File. This enables a more flexible way of adding or removing new digital seal profiles by simply editing a JSON file
  • MRZ Values returned from getFeature() return the plain decoded feature String value without 'newlines' (\n).
  • Stricter signature algorithm selection depending on the used curve bit length according Doc9309-13 chapter 2.4 for Signer and Verifier
  • addFeature() and getFeature() no uses generics which means parsing a feature Object to a correct datatype isn't necessary anymore
  • Parsing DigitalSeals from raw byte arrays is now part of the DigitalSeal class itself. So no calls of DataParser is necessary anymore. Just call DigitalSeal.fromByteArray(...) and all Seal data is accessible with the provided methods from the DigitalSeal class.