📄 java.security
字号:
## This is the "master security properties file".## In this file, various security properties are set for use by# java.security classes. This is where users can statically register # Cryptography Package Providers ("providers" for short). The term # "provider" refers to a package or set of packages that supply a # concrete implementation of a subset of the cryptography aspects of # the Java Security API. A provider may, for example, implement one or # more digital signature algorithms or message digest algorithms.## Each provider must implement a subclass of the Provider class.# To register a provider in this master security properties file, # specify the Provider subclass name and priority in the format## security.provider.<n>=<className> ## This declares a provider, and specifies its preference # order n. The preference order is the order in which providers are # searched for requested algorithms (when no specific provider is # requested). The order is 1-based; 1 is the most preferred, followed # by 2, and so on.## <className> must specify the subclass of the Provider class whose # constructor sets the values of various properties that are required# for the Java Security API to look up the algorithms or other # facilities implemented by the provider.# # There must be at least one provider specification in java.security. # There is a default provider that comes standard with the JDK. It# is called the "SUN" provider, and its Provider subclass# named Sun appears in the sun.security.provider package. Thus, the# "SUN" provider is registered via the following:## security.provider.1=sun.security.provider.Sun ## (The number 1 is used for the default provider.) ## Note: Statically registered Provider subclasses are instantiated # when the system is initialized. Providers can be dynamically # registered instead by calls to either the addProvider or # insertProviderAt method in the Security class.## List of providers and their preference orders (see above):#security.provider.1=sun.security.provider.Sun## Class to instantiate as the system scope:#system.scope=sun.security.provider.IdentityDatabase
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -