Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “SSH user public keys are pinned on the server in the authorized_keys
file.”
A block of code is set as follows:
if (pinned_server_cert) X509_free(pinned_server_cert); if (pinned_server_cert_file) fclose(pinned_server_cert_file);
Any command-line input or output is written as follows:
$ ./tls-server 4433 server_keypair.pem server_cert.pem *** Listening on port 4433
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Reduced maintenance because you don’t need to make a Certificate Signing Request (CSR) and communicate with a CA. You can even use a self-signed certificate.”
Tips or Important Notes
Appear like this.