Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition
by Li Gong, Gary Ellison, Mary Dageforde
10.2. Design Principles
The design of the Java Cryptography Architecture is guided by two principles: (1) algorithm independence and extensibility and (2) implementation independence and interoperability. The aim of the JCA is to let API users use cryptographic services, such as digital signatures and message digests, without concern for the implementations or even the algorithms being used to implement these services. At the same time, the JCA provides standardized APIs so that developers can request specific algorithms and specific implementations, if desired.
Algorithm independence is achieved by defining types of cryptographic “engines,” or services, and defining classes that provide the functionality of these cryptographic engines. These ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access