This thesis focuses on applying cryptographic principles and secure protocols to make software components in PKI system. The goal is that programmers can develop secure application system with the components, but they don' t require to comprehend the algorithm and protocol details. We analyzed the architecture of open source software OpenSSL and use it to develop a PKI system. We develop three components of symmetry algorithms: DBS, IDEA and COST, unsymmetrical algorithm component, RSA and five components of hash algorithm, i. e. MD2 , MD4 , MD5 , SHA and SHA1. Finally, we develop a couple of SSL client and server components. These components will help to develop secure application system easily. |