Research and Implementation of Encapsulating OpenSSL by COM
- Author
- ChenXiaoGuo
- Advisor
- TanXianHai
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 318
- Citations
- 5
Abstract
In recent years, as the Internet increasingly wide range of applications, network security has become a more and more attention. Cryptography knowledge-based SSL protocol to ensure network data security effective means plays an extremely important role in many areas. OpenSSL is the most important basis for the SSL / TLS protocol library. It is a powerful open source software, responsible for the development work of countless volunteers from around the world. OpenSSL thought process-oriented, using pure C language. Therefore, OpenSSL, there are some disadvantages to it does not comply with the direction of software development trend of increasing. A whole new thought must be used to re-design its structure, to make up for the shortcomings. Microsoft COM component technology analysis found that the COM component technology repackaged OpenSSL is an effective way to solve these problems. In order to design the OpenSSL component structure of this thesis a detailed analysis of the the OpenSSL basic structure and program flow, in-depth analysis of the reasons for its deficiencies. COM and ATL library also discussed in detail and careful analysis, where the obtained characteristics and advantages of the COM component technology. COM component technology package OpenSSL and benefits on the basis of the above two points, and mapping and object-oriented two specific package ideas, give full consideration to the traditional user and are accustomed to facing the the needs of users of the object methods. Under the guidance of the package thinking, subjects using Visual Studio 2003 and the accompanying ATL 7.0 Active Template Library as a development tool and environment. Because the the OpenSSL and ATL characteristics encapsulation process encountered some problems. Through a detailed analysis of the nature of the problem, we propose an effective solution, complete package. OpenSSL package after effectively overcome the original process-oriented, inconvenient to use, upgrades, maintenance difficulties and shortcomings. Meanwhile, the original has powerful preserved. By contrast the use of the package before and after OpenSSL components of OpenSSL can effectively improve its structure, in line with the trend of software development. An effective ideas and solutions proposed to change the software structure to match the direction of software development. This idea and the method can be extended to other similar applications, played a valuable role for the further promotion of open source software applications.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-15
1.1 Overview of SSL and OpenSSL 10 - 11
1.2 COM components Technical Overview the 11-12
the 1.3 the OpenSSL package componentized research significance nbsp 12-13
1.4 The main research work; the detailed analysis 13-15
second chapter OPENSSL, the 15-36
2.1 SSL security transport protocol 15-19
2.1.1 SSL Overview 15-16
2.1.2 SSL architecture 16
the 2.1.3 SSL protocol flow 16-19
2.2 OpenSSL structure and function 19-28
2.2.1 OpenSSL Overview the 19-21
2.2.2 OpenSSL functionality 21
in 2.2.3 the OpenSSL overall structure 21 - 24
2.2.4 OpenSSL command interface 24-25
2.2.5 the the OpenSSL main structure 25-26
2.2.6 structure and function of the relationship between to 26-28 the OpenSSL use
2.3 process the analysis 28-30
2.4 the OpenSSL advantages and disadvantages 30-36
2.4.1 the OpenSSL advantages 30-31
2.4.2 the OpenSSL shortcomings 31-36
Chapter 3 package of ideas and methods 36-57
3.1 COM components Technical specifications and 36-43
3.1.1 COM basic characteristics of 36-37
3.1.2 COM 37-38
3.1 .3 COM component reuse the 38-39
3.1.4 COM interface 39-42
3.1.5 COM object 42-43
the 3.2 Active Template Library ATL 43-45
3.2.1 the ATL Overview 43-44
3.2.2 ATL Technical Features 44-45 <br / > 3.3 package thinking 45-50
3.3.1 mapping method 45-47
3.3.2 object-oriented methods 47-50
3.3.3 two encapsulation methods contrast 50
3.4 the OpenSSL components of the overall structure of the design 50-57
3.4.1 encapsulation, requirements 50-52
3.4.2 interface design requirements 52-53
3.4.3 the OpenSSL component structure design 53-55
3.4.4 and Crypto 55-57
Chapter 4 OpenSSL components package the 57-75 4.1 technical problems and solutions
57-66
4.1.1 parameter type problem the 57-61
4.1.2 parameter direction the 61-62
4.1.3 Memory Management Issues 62-65
4.1.4 file dependency issues the 65-66
4.2 mapping encapsulation method to achieve 66-68
4.3 object-oriented encapsulation method to achieve 68-73
4.4 package OpenSSL version and development environment 73-75
4.4.1 version select 73
4.4.2 development environment 73-75
Chapter 5 the OpenSSL package components 75-85
5.1 package program 75-79
the 5.1.1 mapping encapsulation method to achieve 75-77
5.1.2 object-oriented encapsulation method 77-79
5.1.3 to use to summarize 79
5.2 encapsulated with 79-82
5.2.1 encryption decryption function package 79-81
5.2.2 encryption decryption function using the brief advantage of 81-82
5.3 package 82-83
5.3.1 object-oriented features 82
the 5.3.2 upgrade 82
5.3.3 position flexible the the nature 82-83
5.4 package Performance Analysis 83
5.5 the OpenSSL component prospects 83-85
Conclusion 85 -87
Acknowledgements to References 87-88
88-91
studying for a master's degree during the academic 91
Related dissertations
- Research and Application of Ssl Protocol Security Based on PKI
- Design and Implementation of A Network Access Monitoring System for User
- Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
- Design and Application of Higher Vocational Colleges and Universities Campus Network
- Campus intelligent network construction
- Study of Fujian Business School Campus Network Based on Engineering Design
- Research and Design of University Network Construction
- The Design of Fiber Ethernet Intelligent Splitter Based on FPGA
- Research and Implemention of IP Packet Reinstall System Based on VPN
- Research on Intrusion Detection Based on Clustering Algorithm
- Study the Technology of Extraction Situation Factor for Network Security Situation Awareness
- The Electronic Reading Room ARP Virus Detection and Localization System Research
- Study and Deployment on Communication Security and Optimizations for VPN Networks
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- A Network Security Risk Computation Approach Based on Attack Graphs
- University Network Security Problems and Countermeasures
- Research and Application of Network Monitor
- The Network Inside and Outside Isolation of Guizhou ATC System Design and Implementation
- Honeypot Technology in Network Security Design and Application
- Based on the Firewall and Intrusion Detection Linkage System Research and Implementation