fayoum university faculty of engineering electrical engineering department

39
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

Upload: nolen

Post on 21-Jan-2016

40 views

Category:

Documents


0 download

DESCRIPTION

Fayoum University Faculty of Engineering Electrical Engineering Department. E-voting system Using Smart Card Under the supervision Of: Dr. Magdy Amer. Group names. Hassan Fadl Hassan Mohamed Ahmed abd al azeez Mohamed Fatehe Soliman Mohamed Zaki Shehata 4 th year electronics. E-Voting. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

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

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

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

Page 4: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

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

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

Smart Card

Page 8: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

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

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

The smart card OS(In concept of layering)

Page 12: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

Smart Card Contact Points

Page 14: Fayoum University  Faculty of Engineering Electrical Engineering Department

Transmission Protocols

Page 15: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

Smart card communication model

Page 17: Fayoum University  Faculty of Engineering Electrical Engineering Department

Structure of a command APDU

Structure of response APDU

Command and response APDU cases

Page 18: Fayoum University  Faculty of Engineering Electrical Engineering Department

Software technique

Page 19: Fayoum University  Faculty of Engineering Electrical Engineering Department

System Connection

Page 20: Fayoum University  Faculty of Engineering Electrical Engineering Department

Applet Security

Page 21: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

Citizen Architecture

Page 23: Fayoum University  Faculty of Engineering Electrical Engineering Department

Judge Architecture

Page 24: Fayoum University  Faculty of Engineering Electrical Engineering Department

Manager Architecture

Page 25: Fayoum University  Faculty of Engineering Electrical Engineering Department

Data Base Architecture

Page 26: Fayoum University  Faculty of Engineering Electrical Engineering Department

With Thanks

Page 27: Fayoum University  Faculty of Engineering Electrical Engineering Department

System in operation

Page 28: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

Error handling

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

Page 30: Fayoum University  Faculty of Engineering Electrical Engineering Department

• Second error

Page 31: Fayoum University  Faculty of Engineering Electrical Engineering Department

Correct

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

Page 32: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

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

Fills commissions

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

Page 35: Fayoum University  Faculty of Engineering Electrical Engineering Department

Judge

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

Page 36: Fayoum University  Faculty of Engineering Electrical Engineering Department
Page 37: Fayoum University  Faculty of Engineering Electrical Engineering Department

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

commissions manager

• The commissions manager can control all commissions in Egypt

Page 39: Fayoum University  Faculty of Engineering Electrical Engineering Department

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.