Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date encoding #10

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 2 comments
Closed

Date encoding #10

GoogleCodeExporter opened this issue Mar 24, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

In the identity data, why do you encode the birth date in plain
text? Why not the same date encoding for all dates?

What is the expected output? What do you see instead?

Would be nice to have the same encoding for validity date and birth date.
But if there is a change, say it loud and clear as it will break compatibility.

Original issue reported on code.google.com by sbuyss...@gmail.com on 11 Sep 2009 at 2:20

@GoogleCodeExporter
Copy link
Author

I don't really understand your question. If you check out:
http://code.google.com/p/eid-applet/source/browse/trunk/eid-applet-service/src/m
ain/java/be/fedict/eid/applet/service/Identity.java#89

you'll notice that the dateOfBirth field is of type GregorianCalendar, the same 
as
for the cardValidityDateBegin and cardValidityDateEnd fields. Of course the 
validity
fields are differently encoded than the dateOfBirth field inside the identity 
file of
the eID card itself. But that's just the way it is. There are plans to change 
the
encoding of dates for future eID card so we could limit the @ConvertData data
conversion to a single DateDataConvertor.

Original comment by frank.co...@gmail.com on 12 Sep 2009 at 7:07

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Would just have been nice to keep the encoding problem on the applet side and 
forget
about this issue in the server side, solve it once for every implementation.

Original comment by sbuyss...@gmail.com on 14 Sep 2009 at 3:42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant