Top Banner
Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system E-voting system Using Smart Card Using Smart Card Under the supervision Of Under the supervision Of : : Dr. Magdy Amer
39

Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Dec 27, 2015

Download

Documents

Meryl Charles
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Fayoum University Faculty of Engineering

Electrical Engineering Department

E-voting systemE-voting systemUsing Smart CardUsing Smart Card

Under the supervision OfUnder the supervision Of::

Dr. Magdy Amer

Page 2: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Group namesGroup names

• Hassan Fadl Hassan

• Mohamed Ahmed abd al azeez

• Mohamed Fatehe Soliman

• Mohamed Zaki Shehata

4th year electronics

Page 3: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

E-Voting

• Overview • What is E-voting? • The Advantage

• Accuracy• Democracy• Privacy• Verifiability• Convenience• Flexibility• Mobility

Page 4: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Database Server

Citizen

Pc

Checking To

Access

Reader

Citizen

Pc

Checking To

Access

Reader

E-Voting System

Box ballot

Web Server

Page 5: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Project idea first glance

• Architecture of the system – A database system .– A web portal .– A computer with a Java Smart Card based

system in each voting center.– A box ballot in each voting center containing

all the votes.

Page 6: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Project details

• physical characteristics

• dimensions and location of the contacts

• electronic signals and transmission protocols

• industrial commands for interchange

• application identifiers

Page 7: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Smart Card

Page 8: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

the primary tasks of a smart card

• Transferring data.

• Controlling the execution of commands.

• Managing files.

• Managing and executing program code

Page 9: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Why use a Java smart card?

•High level language •Security•Hardware independent•SCQL•Store multiple application after issuing

Page 10: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

The Smart Card Memory System

1. Internal memory– RAM – EEPROM (512 byte)– Flash EEPROM

2. External memory– EEPROM (24LC64)

Page 11: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

The smart card OS(In concept of layering)

Page 12: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Operating System Layers

1. Physical layer: Employs only the logic values 0 and 1.

2. Data link layer: provides an error-free connection at higher level protocol called (T=0).

3. Application layer: communicate between application on the card and application on the terminal throw APDU.

Page 13: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Smart Card Contact Points

Page 14: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Transmission Protocols

Page 15: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

ANSWER TO RESET (ATR)

• It contains various parameters

• transmission protocol • Max Speed of the card • Operating System type• Chip Type• Memory Size• Other information that the host needs to know

about the card.

Page 16: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Smart card communication model

Page 17: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Structure of a command APDU

Structure of response APDU

Command and response APDU cases

Page 18: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Software technique

Page 19: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

System Connection

Page 20: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Applet Security

Page 21: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Applet servlet connection techniques

• There are four techniques :

– 1 RMI ( Remote Method Invocation)

– 2 CORBA (Common Object Request Broker Architecture)

– 3 SOCKET non http

– 4 HTTP connection

Page 22: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Citizen Architecture

Page 23: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Judge Architecture

Page 24: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Manager Architecture

Page 25: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Data Base Architecture

Page 26: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

With Thanks

Page 27: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

System in operation

Page 28: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

User interface

Simple interface to Egyptian voterHe simply enters his serial number to save privacy .comparing this number by the serial on his smart card .the judge responsible for open this page to

every voter.

Page 29: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Error handling

• There are two types of error to be handled – First error

Page 30: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

• Second error

Page 31: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Correct

• If he enters his correct serial number. he can choose from candidates

Page 32: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

After choosing

• After choosing. his choice will be sent to database in the table of citizen . every citizen is distinguished by his serial number not by his national number.

• He will get a confirmation message .

Page 33: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Administrator

• The administrator is responsible to fill all tables in the database. he first prepares the commissions to certain type of voting.

Page 34: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Fills commissions

• He fills data of all commissions in all Egypt in two modes

Page 35: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

Judge

• He also sets the judge of every commission and the commission managers

Page 36: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.
Page 37: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

enter candidates

• He also set the data of all candidates. Every voting these data will be changed

These data will be saved in database

Page 38: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

commissions manager

• The commissions manager can control all commissions in Egypt

Page 39: Fayoum University Faculty of Engineering Electrical Engineering Department E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer.

commissions manager

• Every commission has a judge to control this commission

The database can output all the results of candidates by counting number of serials that have chosen certain candidate. do the same for

all candidates then compare them find maximum.