10.4. Core Cryptography Classes

This section describes the design and usage of classes central to the Java Cryptography Architecture. Section 10.5 describes additional classes in Java 2 SDK 1.4 that were initially in the Java Cryptography Extension optional package.

10.4.1. Security

The java.security.Security class manages installed providers and security-wide properties. It contains only static methods and is never instantiated:

 public static Provider[] getProviders() public static Provider getProvider(String name) public static int addProvider(Provider provider) public static int insertProviderAt(Provider provider, int position) public static void removeProvider(String name) public static String getProperty(String key) public static void ...

Get Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition 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.