Name

Class java.security.Security

Synopsis

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 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 synchronized Provider getProvider(String);
    public static Provider[] getProviders(String);
    public static synchronized Provider[] getProviders(  );
    public static Provider[] getProviders(Map);
    public static synchronized int insertProviderAt(Provider, int);
    public static synchronized void removeProvider(String);
    public static void setProperty(String, String);
}

See also

Provider

Get Java Security, 2nd 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.