O'Reilly logo

Inside Java™ 2 Platform Security: Architecture, API Design, and Implementation, Second Edition by Mary Dageforde, Gary Ellison, Li Gong

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required