Design and Implementation of Security Chat Room Based on Digital Certificate
- Author
- YuTao
- Advisor
- JinChengBai
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP393.092 Web browser
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 325
- Citations
- 1
Abstract
Along with the Internet’s fast development and application, the chatroom as a place of communication is welcome by the users of network deeplyfor its convenience and immediacy. As a place of communication in thevirtual society, the chat room has many uses, almost applied to each aspect ofpeople’s life, for example: communication, document transmission, resourcesshare etc. But the network chat room exists a lot of problems on securitycurrently, for example: the identity of user can’t be authenticated, thepassword of user was usually guessed by the others, the information istransmitted by plain text, even if a lot of chat rooms provide the service ofsecret chat, the information is also probably wiretapped. Because of thesesecure problems, the chat room hasn’t been abroad used in someorganizaitons such as business organizations, governments, troops whichrequest higher security for information.Although some products of security chat room have been appeared,these products don’t provide all secure services at the same time, such asidentity authentication, secrecy of information and integrality of information.So the security chat room based on certificate makes up the shortages of thecurrent security chat room and makes the chat room provide better secureservices.The security chat room based on certificate makes use of digitalcertificate, the protocol of SSL and the advantages of current security chatroom products to carry out the secure services of identity authentication,secrecy of information and integrality of information. Make the chat roomprovide the services of secure communication on the basis of high efficiency,immediacy, low cost and easy use.The usage of security chat room based on certificate is simpleness,convenience, high efficiency. The only difference of security chat roombased on certificate and current chat room used in network is that the user ofchat room uses digital certificate to register and login. User logging on chatroom can not feel the process that the information is encrypted and decryptedwhen chatting. Although security chat room based on certificate uses thetechnique of Symmetry encryption to ensure the confidentiality of chatinformation, it can’t affect the efficiency of chat greatly and the user feels theinformation is instant.The security chat room based on certificate can be applied in theorganizations of business organizations, governments and troops whichrequest higher security for information. Along with the fast generalization ofPKI, certificate has already got the extensive application in the businessorganizations, governments and troops. So it satisfies the basic conditionsthat the security chat room based on certificate can be generalized and used.The high request for security of information restricts the chat room’sgeneralization and usage in the business organizations, governments andtroops, but secure services that the security chat room based on certificateprovided can more availably ensure the security of communication.The security chat room based on certificate is based on C/Sconfiguration and is constituted with server module, client module and SSLmodule.1. Server module has the functions of handling user’ registrationrequest and logon request, sending chat information and receivingchat information.2. Client module has the functions of registration, logon, sending chatinformation and receiving chat information, selecting chat object,secrecy chat, filtrating information.3. SSL module has the functions of identity authentication, encryptinginformation and decrypting information, MAC’s creation andvalidation.The security chat room based on certificate discussed here improves thesecurity of chat room from 5 aspects below:1. Carry out identity authentication with digital certificate. Userregisters and logons with digital certificate. This method is easy foruser to use and can provide high level security ensurence at thesame time. Digital certificate is the user’s testify. Only the user hasthe secret key with which the digital certificate’s public keymatches. So we can carry out identity authentication with themethod that judging whether the secret key matches with the publickey.2. Ensure the security of chat information’s transmission with thetechnique of symmetry encryption. In order to ensure the secrecy ofchat information and let the sender and the receiver know the chatinformation’s plain text, we use the method that the sender sendschat information’s cipgher text that is the result of encrypting plaintext with symmetry key to the receiver and the receiver decrypts thecipher text with the same symmetry key to get the plain text.3. Ensure the symmetry key’s secure exchange with the technique ofasymmetry encryption.4. Ensure the integrality of information with Message AuthenticationCode (MAC). The MAC ensures the information can not betampered during transmission.5. Carry out secure communication with the protocol of SSL.The paper indicates two aspects need to improve in the end. One aspectis that how to add the hardware encryption equipments’ support. The otheraspect is that how to improve the secrecy of chat information at the server.Let the server send the chat information to the client directly withoutdecrypting and encrypting chat information in order to let the server can notget user’s chat information and improve the secrecy of chat information.
Table of contents
Chapter Introduction 7-11
the 1.1 problems raised 7
1.2 current status of secure chat room products 7-8
1.3-based digital certificates secure chat rooms significance 8-9
1.4 This article and article structure 9-11
second chapter related knowledge 11-18 <br / > 2.1 PKI Overview the 2.1.1 digital certificates 11-13
11-13
2.1.2 Certificate Revocation List 13
2.2 Cryptography foundation 13-17
2.2.1 symmetric ciphers the 13-14
2.2.2 asymmetric cryptographic algorithm 14
2.2.3 mixing password algorithm the 14-15 2.2.4 one-way hash function
15
the 2.2.5 message authentication code 15-16
2.2.6 Digital Signature 16-17
2.3 SSL protocol 17
2.4 OPENSSL package introduced 17-18
Chapter System Overview 18 - 22
3.1 Functional Overview are found; 18-19
3.2 logical structure 19-21
3.3 system features 21
3.4 system running 21-22
Chapter chat room safety design principles based on digital certificates 22-29
4.1 Overview 22
4.2 authentication 22-24
4.3 secure transmission 24-26
4.4 information integrity 26-27
4.5 digital certificate login with the user name and password to log 27-29
Chapter chat rooms basic functions Design and Implementation 29-39
5.1 Design and Implementation of key processes 29-34
5.1.1 server startup 29-30
5.1.2 client users registered 30-31
5.1.3 client user login 31-32
5.1.4 client user chat messages transceiver the 5.1.5 server
32-33 the deleted client user 33-34
5.2 key data structures class design and Implementation 34-39
5.2.1 server end nbsp the; 34-36
5.2.2 client 36-39
Chapter VI SSL protocol Module Design and Implementation 39-53
6.1 authentication to achieve the certificate validation nbsp 39-44
6.1.1 server starts; 39-41
6.1.2 client end user registration and login authentication the 41-44
6.2 key negotiation and exchange to achieve 44-48
6.3 chat message encryption and decryption achieve the 48-51
6.4 generation and verification of message authentication code (MAC) to achieve 51-53
Chapter VII Conclusion 53-54
References 54-55
Summary 55-57
ABSTRACT 57-60
Acknowledgements 60-61 <br / > mentor and author 61
Related dissertations
- Design and Implementation of Small Digital Authentication System Based on PKI
- The Research and Application of IPSec VPN Based on Digital Certificate
- The Research of the SSL VPN’s Authentication
- In the P2P Network Numerical Certificate Technique within Safety
- Research and Realization of Database Security Proxy Based on Security Socket Layer
- The Design and Implementation of Certification Authority Center
- The Research and Implementation of Data Security in Network Grading System
- A Summary to Study and Designation of Mobile Agent Security Authentication
- The Research and Implementation of PKI-the Key Technology for Computer Network Security
- PKI-based encrypted transmission and safety certification
- The Application of PKI Technology in the Range of Spaceflight
- SSL protocol analysis and its implementation on mobile terminals research
- Third-party payment platform security design and implementation
- Based on SSL Research and Implementation of Distributed Firewall Server End
- CA System Based on PKI System Research and Implementation
- The Study of Application of Digital Certificates Based on PKI and Its Application on the Network Information Platform
- Research on Enterprises’Financial Management Capability System Establishment and Certification in China
- Design and Implementation of VON System on Campus Network of Guizhou Minzu University
- Authentication and Authorization Design in Social Media Website
- Research on grid security technology of Portal