Name
Class java.security.Security
Description
This class manages the list of providers that have been installed
into the virtual machine; this list of providers is consulted to find
an appropriate class to provide the implementation of a particular
operation when the getInstance()
method of an
engine class is called. The list of providers initially comes from
the $JDKHOME/lib/security/java.security file,
and applications may use methods of this class to add and remove
providers from that list.
Class Definition
public final class java.security.Security extends java.lang.Object { // Class Methods public static int addProvider(Provider); public static String getAlgorithmProperty(String, String); public static String getProperty(String); public static Provider getProvider(String); public static Provider[] getProviders(); public static int insertProviderAt(Provider, int); public static void removeProvider(String); public static void setProperty(String, String); }
See Also
Provider
Get Java Cryptography 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.