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

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

Embed Size (px)

Citation preview

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

Group namesGroup names

• Hassan Fadl Hassan

• Mohamed Ahmed abd al azeez

• Mohamed Fatehe Soliman

• Mohamed Zaki Shehata

4th year electronics

E-Voting

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

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

Database Server

Citizen

Pc

Checking To

Access

Reader

Citizen

Pc

Checking To

Access

Reader

E-Voting System

Box ballot

Web Server

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.

Project details

• physical characteristics

• dimensions and location of the contacts

• electronic signals and transmission protocols

• industrial commands for interchange

• application identifiers

Smart Card

the primary tasks of a smart card

• Transferring data.

• Controlling the execution of commands.

• Managing files.

• Managing and executing program code

Why use a Java smart card?

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

The Smart Card Memory System

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

2. External memory– EEPROM (24LC64)

The smart card OS(In concept of layering)

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.

Smart Card Contact Points

Transmission Protocols

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.

Smart card communication model

Structure of a command APDU

Structure of response APDU

Command and response APDU cases

Software technique

System Connection

Applet Security

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

Citizen Architecture

Judge Architecture

Manager Architecture

Data Base Architecture

With Thanks

System in operation

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.

Error handling

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

• Second error

Correct

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

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 .

Administrator

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

Fills commissions

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

Judge

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

enter candidates

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

These data will be saved in database

commissions manager

• The commissions manager can control all commissions in Egypt

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.