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 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.