← 返回首页
Security (Java SE 26 & JDK 26)
JavaScript is disabled on your browser.
Contents  
  1. Description
  2. Method Summary
  3. Method Details
    1. getAlgorithmProperty(String, String)
    2. insertProviderAt(Provider, int)
    3. addProvider(Provider)
    4. removeProvider(String)
    5. getProviders()
    6. getProvider(String)
    7. getProviders(String)
    8. getProviders(Map)
    9. getProperty(String)
    10. setProperty(String, String)
    11. getAlgorithms(String)
Hide sidebar  Show sidebar

Class Security

java.lang.Object
java.security.Security
public final class Security extends Object

This class centralizes all security properties and common security methods. One of its primary uses is to manage providers.

The default values of security properties are read from an implementation-specific location, which is typically the properties file conf/security/java.security in the Java installation directory.

Implementation Note: If the properties file fails to load, the JDK implementation will throw an unspecified error when initializing the Security class. Since: 1.1

Scripting on this page tracks web page traffic, but does not change the content in any way.