Chapter 3. Architecture

Java cryptography software comes in two pieces. One piece is the JDK itself, which includes cryptographic classes for authentication. The other piece, the Java Cryptography Extension (JCE), includes so-called “strong cryptography.” In this chapter I’ll talk about these two pieces of software and the architecture that houses them. In particular, I’ll cover:

  • The separation of cryptographic concepts and implementations (algorithms)

  • The separation of the public methods of a concept class from its inner workings

  • The use of factory methods in the cryptography classes

  • The provider architecture

Get Java Cryptography now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.