Chapter 10. Programming Cryptography

The secret of my influence has always been that it remained a secret.

—Salvador Dali

Earlier chapters briefly covered some of the basic concepts of cryptography, as well as code signing and the use of certificates, which depend on public-key cryptosystems. This chapter goes behind the scenes to look at the Java Cryptography Architecture (JCA), which underlies the APIs and the tools.

The JCA first appeared in JDK 1.1. It had fairly limited functionalities that included APIs for digital signatures and message digests. The Java 2 SDK significantly extended the JCA into a framework for accessing and developing cryptographic functionality for the Java platform. Loosely speaking, JCA encompasses the parts of the ...

Get Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.