jdk/src/java.base/share/conf/security/java.security
changeset 38948 a41d2f668f49
parent 38576 ccaac80108c5
child 39339 3a9850ed77e8
equal deleted inserted replaced
38921:d53037a90c44 38948:a41d2f668f49
    31 # the Java Security API. A provider may, for example, implement one or
    31 # the Java Security API. A provider may, for example, implement one or
    32 # more digital signature algorithms or message digest algorithms.
    32 # more digital signature algorithms or message digest algorithms.
    33 #
    33 #
    34 # Each provider must implement a subclass of the Provider class.
    34 # Each provider must implement a subclass of the Provider class.
    35 # To register a provider in this master security properties file,
    35 # To register a provider in this master security properties file,
    36 # specify the Provider subclass name and priority in the format
    36 # specify the provider and priority in the format
    37 #
    37 #
    38 #    security.provider.<n>=<className>
    38 #    security.provider.<n>=<provName | className>
    39 #
    39 #
    40 # This declares a provider, and specifies its preference
    40 # This declares a provider, and specifies its preference
    41 # order n. The preference order is the order in which providers are
    41 # order n. The preference order is the order in which providers are
    42 # searched for requested algorithms (when no specific provider is
    42 # searched for requested algorithms (when no specific provider is
    43 # requested). The order is 1-based; 1 is the most preferred, followed
    43 # requested). The order is 1-based; 1 is the most preferred, followed
    44 # by 2, and so on.
    44 # by 2, and so on.
    45 #
    45 #
       
    46 # <provName> must specify the name of the Provider as passed to its super
       
    47 # class java.security.Provider constructor. This is for providers loaded
       
    48 # through the ServiceLoader mechanism.
       
    49 #
    46 # <className> must specify the subclass of the Provider class whose
    50 # <className> must specify the subclass of the Provider class whose
    47 # constructor sets the values of various properties that are required
    51 # constructor sets the values of various properties that are required
    48 # for the Java Security API to look up the algorithms or other
    52 # for the Java Security API to look up the algorithms or other
    49 # facilities implemented by the provider.
    53 # facilities implemented by the provider. This is for providers loaded
    50 #
    54 # through classpath.
    51 # There must be at least one provider specification in java.security.
       
    52 # There is a default provider that comes standard with the JDK. It
       
    53 # is called the "SUN" provider, and its Provider subclass
       
    54 # named Sun appears in the sun.security.provider package. Thus, the
       
    55 # "SUN" provider is registered via the following:
       
    56 #
       
    57 #    security.provider.1=sun.security.provider.Sun
       
    58 #
       
    59 # (The number 1 is used for the default provider.)
       
    60 #
    55 #
    61 # Note: Providers can be dynamically registered instead by calls to
    56 # Note: Providers can be dynamically registered instead by calls to
    62 # either the addProvider or insertProviderAt method in the Security
    57 # either the addProvider or insertProviderAt method in the Security
    63 # class.
    58 # class.
    64 
    59