Chapter 30. java.security

This chapter provides a quick reference of the interfaces in java.security and java.security.cert. There are several useful classes here—for example, MessageDigest, KeyStore, KeyPair, Permission, AllPermission, and Policy. If you want to use access control lists (ACLs), you should also consult java.security.acl. Note that the permissions granted through policies, and which instantiate classes in java.security, have absolutely nothing to do with the permissions provided through java.security.acl. Java 2 also provides support for creating self-signed certificates to authenticate signatures—primarily certificates that use the X.509 format.

Get PURE Java™ 2 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.