Skip to content

Releases: tsenger/vdstools

v0.7.0

24 Nov 14:35
Compare
Choose a tag to compare

Changes

  • All features, regardless of their data type, can be output as a (hex) string using valueStr().
  • There are also valueBytes() to get the value as byte array and valueInt() to get the value as Integer
  • Bump org.bouncycastle:bcprov-jdk18on from 1.78.1 to 1.79 by @dependabot in #6
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 by @dependabot in #7
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.11.1 by @dependabot in #8

v0.6.1

17 Nov 20:27
Compare
Choose a tag to compare

Changes

  • return formated MRZ with new line at correct position
  • ensure getVdsType doesn't return null

v0.6.0

02 Nov 16:05
Compare
Choose a tag to compare

Changes

  • getFeature() method now return Optional which can be checked with isEmpty(). This is useful for optional features.

Fixed

  • fixed C40/MRZ parsing
  • fixed lengths in SealCodings

v0.5.1

31 Oct 10:17
Compare
Choose a tag to compare

Fixed

  • fixed access to SealCodings.json in package

v0.5.0

29 Oct 13:53
Compare
Choose a tag to compare

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.

v0.4.0_alpha

23 Oct 09:15
Compare
Choose a tag to compare
v0.4.0_alpha Pre-release
Pre-release

Added

  • first version on a parser/encoder for a new draft of "data structure for barcodes"

Changed

  • Restructured and simplified parser/encoder for VDS.
  • Removed the following Feature Enums as they are not defined in an specification were output on some String formatting helper methods.
    • DURATION_OF_STAY_DAYS,
    • DURATION_OF_STAY_MONTHS,
    • DURATION_OF_STAY_YEARS,
    • DURATION_OF_STAY_RAWBYTES,
    • STREET,
    • STREET_NR
  • Added the following Feature Enums for ICAO Visa documents:
    • MRZ_MRVA
    • MRZ_MRVB
  • parsing information for VDS profiles are now defined in a JSON file which can be easily extended with new VDS profiles.
  • MRZ Values returned from getFeature(Feature) are no longer formatted but only return the decoded feature value.
  • Stricter signature algorithm selection depending on the used curve bit length according Doc9309-13 chapter 2.4 for Signer and Verifier

Full Changelog: v0.3.2...v0.4.0_alpha

v0.3.2

11 Oct 07:10
Compare
Choose a tag to compare

v0.3.1

09 Oct 11:10
Compare
Choose a tag to compare

Features

  • added encoder for VDS
  • added new vds profiles

Full Changelog: 0.2.1...v0.3.1

0.2.1

23 Aug 12:39
Compare
Choose a tag to compare
  • switched to Apache 2.0 license
  • modified return of getSignerCertRef() in DigitalSeal.java for easier matching to the correct signer certificate

0.2

21 Aug 20:14
Compare
Choose a tag to compare
0.2
fixed mrz string, added new line character