major project review 3 public health records
major project review 3 public health records
major project review 3 public health records
On
Publicly Verifiable Shared Dynamic Electronic Health Record
Databases
BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE AND ENGINEERING
BY
EEDHULA CHARAN - 20VE1A05K7
PEEYUSHA DIDUGU - 20VE1A05N9
SUDAM KOUNDINYA - 20VE1A05P1
Y.OJASVI MANI CHANDANA - 20VE1A05P9
ACADEMIC BATCH: 2020-2024
package com.upload;
import com.database.connection.DBConnection;
import com.database.connection.Queries;
import com.oreilly.servlet.MultipartRequest;
import com.sun.org.apache.xml.internal.security.utils.Base64;
import java.io.BufferedReader;
i
SAMPLE CODE
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
SAMPLE CODE
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.annotation.MultipartConfig;
SAMPLE CODE
import javax.servlet.http.HttpSession;
import javax.servlet.http.Part;
@MultipartConfig(maxFileSize=16*1024*1024)
response.setContentType("text/html;charset=UTF-8");
SAMPLE CODE
try{
HttpSession session=request.getSession();
String id=(String)session.getAttribute("id");
keyGen.init(128);
SAMPLE CODE
SecretKey secretKey = keyGen.generateKey();
String email=r.getParameter("email");
String mobile=r.getParameter("mobile");
String address=r.getParameter("address");
String dob=r.getParameter("dob");
String hspname=r.getParameter("hspname");
SAMPLE CODE
String bgroup=r.getParameter("bgroup");
String dsymptom=r.getParameter("dsymptom");
String patientage=r.getParameter("page");
String filname=r.getParameter("fname");
File p=r.getFile("file");
String temp=null;
SAMPLE CODE
while((temp=br.readLine())!=null){
sb.append(temp);
String data=sb.toString();
Connection con=DBConnection.getConnection();
pst.setString(2,email);
pst.setString(3,mobile);
pst.setString(4,address);
pst.setString(5,dob);
pst.setString(6,hspname);
pst.setString(7,bgroup);
pst.setString(8,dsymptom);
SAMPLE CODE
pst.setString(9,patientage);
pst.setString(10,filname);
pst.setString(11,data);
pst.setString(12,id);
int i=pst.executeUpdate();
if(i>0){
response.sendRedirect("UpladData.jsp?msg=success");
SAMPLE CODE
}else{
response.sendRedirect("UpladData.jsp?msg=failed");
}catch(Exception e){
System.out.println(e);
}
TESTING AND ANALYSIS
Software Testing is a method to assess the functionality of the software program. The process checks
whether the actual software matches the expected requirements and ensures the software is bug-
free. The purpose of software testing is to identify the errors, faults, or missing requirements in
contrast to actual requirements. It mainly aims at measuring the specification, functionality, and
performance of a software program or application.
Software testing can be divided into two steps:
Verification: It refers to the set of tasks that ensure that the software correctly implements a
specific function. It means “Are we building the product right?”.
Validation: It refers to a different set of tasks that ensure that the software that has been built is
traceable to customer requirements. It means “Are we building the right product?”.
Test Case and Expected
Results(TCER)
Req_id Tkt_id Req_descrption Expected Output Actual Output Req_tckt_status
1002 7832 Client login Client login successful Client login failed Failed
[2] Dan B, Shacham H. Group signatures with verifier-local revocation. Acm Conference on Computer &
Communications Security. 2004.
[3] Chaum, David, and T. P. Pedersen. Wallet Databases with Observers. International Cryptology
Conference on Advances in Cryptology 1992.
[4] B. Dan, X. Boyen, E. J. Goh, “Hierarchical identity based encryption with constant size ciphertext”,
International Conference on Theory and Applications of Cryptographic Techniques. Springer-Verlag, pp.
440- 456, 2005.
[6] Official Website of The Office of the National Coordinator for Health Information Technology (ONC).
(2004). Available: https://www.healthit.gov/
THANK YOU