OpenSSL Module - Cryptography and SSL/TLS Toolkit

This chapter provides tutorial examples and notes on OpenSSL module. Topics include introduction of commonly used OpenSSL functions; computing digest/hash value; generating private and public key pairs; symmetric encryption and asymmetric encryption; generating digital signatures; sealing (double-encryption) large documents; generating and signing CSR; parsing certificate.


These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.

OpenSSL Module and C Library

openssl_digest() - Compute Digest/Hash

openssl_encrypt() - Encrypt with Password

openssl_pkey_new() - Generate Private/Public Key

openssl_public_encrypt() - Public Key Encryption

openssl_sign() - Generate Digital Signature

openssl_seal() - Seal Document with Public Key

openssl_csr_new() - CSR (Certificate Signing Request)

openssl_csr_sign() - Sign CSR into Certificate


Takeaways:

Table of Contents

 About This Book

 Introduction and Installation of PHP

 Managing PHP Engine and Modules on macOS

 Managing PHP Engine and Modules on CentOS

 cURL Module - Client for URL

 DOM Module - Parsing HTML Documents

 GD Module - Manipulating Images and Pictures

 MySQLi Module - Accessing MySQL Server

OpenSSL Module - Cryptography and SSL/TLS Toolkit

 PCRE Module - Perl Compatible Regular Expressions

 SOAP Module - Creating and Calling Web Services

 SOAP Module - Server Functions and Examples

 Zip Module - Managing ZIP Archive Files

 References

 Full Version in PDF/EPUB