Belgian eID-card

Belgian eID-card

Postby driessen » Thu Nov 15, 2012 1:27 pm

Hello,

Here in Belgium we all have a electronic ID-card which is used in many applications.

Does anyone know how we can read this eID in a cardreader?

Thanks a lot in advance.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Belgian eID-card

Postby Otto » Thu Jul 30, 2015 6:42 am

Hello Michel,
have you found a solution.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6315
Joined: Fri Oct 07, 2005 7:07 pm

Re: Belgian eID-card

Postby driessen » Thu Jul 30, 2015 1:00 pm

Unfortunately not, Otto.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Belgian eID-card

Postby rhlawek » Fri Jul 31, 2015 12:34 am

User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: Belgian eID-card

Postby AntoninoP » Fri Jul 31, 2015 9:15 am

In my infinity curiosity, I saw the API for Belgian eID-card. :oops:
I arrived at http://eid.belgium.be/en/developing_eid_applications/eid_software_development_kit/
then at https://code.google.com/p/eid-mw/wiki/SDK40
so, It is enough download the software from http://eid.belgium.be/nl/je_eid_gebruiken/de_eid-middleware_installeren/ and the SDK from http://eid-mw.googlecode.com/files/sdk40_1306.zip.

starting from them, I created this test: http://aperricone.altervista.org/temp/beid.zip

all file except: be_api.c, test.prg, build.bat and test.exe are copied from the SDK.
The interesting one is be_api.c, it is only started, finish its is a easy but boring work.
I don't have way to test it, but I think it is a good starting point.

Hoping that I helped,
Antnino Perricone
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Belgian eID-card

Postby Jack » Wed Jan 27, 2016 8:26 pm

Hello,
What is the right instruction in other to read the contents of EID Card : Name, Adress,Bitrth Date ?

Thanks
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Belgian eID-card

Postby Jack » Mon Jun 06, 2016 4:57 pm

Hello,
Is there something new about this ?
How to extract FirstName,LastName,BirthDate etc
Thanks for your help .
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: Belgian eID-card

Postby Marc Vanzegbroeck » Wed Jun 08, 2016 10:46 am

Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Belgian eID-card

Postby Jack » Wed Jun 08, 2016 2:04 pm

How to translate this in Fivewin/Harbour language ?
Thanks for your help .
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: Belgian eID-card

Postby AntoninoP » Wed Jun 08, 2016 3:46 pm

no one tried my code?
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Belgian eID-card

Postby Marc Vanzegbroeck » Wed Jun 08, 2016 5:20 pm

AntoninoP wrote:no one tried my code?


Antonino,


When I run it with a cardreader, I get this error:
Code: Select all  Expand view
Init:         0
Error BASE/1111  Argument error: LEN
Called from LEN(0)
Called from MAIN(6)


I will try to debug it if I have some time...
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Belgian eID-card

Postby AntoninoP » Thu Jun 09, 2016 7:19 am

It does not found the file beidpkcs11.dll or beid35pkcs11D.dll (depends if is compiled in C debug or not), maybe is better to change the line 11 of be_api.c from
Code: Select all  Expand view
CK_RV retVal = CKR_OK;

to
Code: Select all  Expand view
CK_RV retVal = CKR_GENERAL_ERROR;

so it does not return 0 (OK) in case of fail.
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Belgian eID-card

Postby Marc Venken » Sun May 28, 2017 9:15 am

Has anyone been able to read the ID card yet ?

Maybe even with a other software executed from FW ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1426
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Belgian eID-card

Postby Jack » Fri Sep 22, 2017 1:46 pm

Hello,
Did someone found samples of FW code for this ?
Thanks
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: Belgian eID-card

Postby Marc Venken » Fri Sep 22, 2017 8:13 pm

Not from my side.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1426
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 44 guests