Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition
by Li Gong, Gary Ellison, Mary Dageforde
9.10. Sealing Objects
The SignedObject class provides object authenticity, or integrity. The class SealedObject, on the other hand, protects an object’s confidentiality.[2] These two classes may be combined to provide integrity and confidentiality at the same time.[3] In fact, from a technical design perspective, designing the two classes into one would have been a better choice. In reality, the SealedObject class is not even in the java.security package. Instead, it is included in the javax.crypto package, which was initially part of the Java Cryptography Extension (JCE) 1.2 and has been incorporated into J2SE 1.4. This design choice was influenced solely by U.S. regulations regarding the export of encryption software.[4]
[2] For those who are ...
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