java.security-solaris revision 0
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# This is the "master security properties file".
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# In this file, various security properties are set for use by
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# java.security classes. This is where users can statically register
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Cryptography Package Providers ("providers" for short). The term
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# "provider" refers to a package or set of packages that supply a
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# concrete implementation of a subset of the cryptography aspects of
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# the Java Security API. A provider may, for example, implement one or
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# more digital signature algorithms or message digest algorithms.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Each provider must implement a subclass of the Provider class.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# To register a provider in this master security properties file,
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# specify the Provider subclass name and priority in the format
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# security.provider.<n>=<className>
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# This declares a provider, and specifies its preference
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# order n. The preference order is the order in which providers are
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# searched for requested algorithms (when no specific provider is
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# requested). The order is 1-based; 1 is the most preferred, followed
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# by 2, and so on.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# <className> must specify the subclass of the Provider class whose
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# constructor sets the values of various properties that are required
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# for the Java Security API to look up the algorithms or other
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# facilities implemented by the provider.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# There must be at least one provider specification in java.security.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# There is a default provider that comes standard with the JDK. It
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# is called the "SUN" provider, and its Provider subclass
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# named Sun appears in the sun.security.provider package. Thus, the
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# "SUN" provider is registered via the following:
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# (The number 1 is used for the default provider.)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Note: Providers can be dynamically registered instead by calls to
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# either the addProvider or insertProviderAt method in the Security
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# List of providers and their preference orders (see above):
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncsecurity.provider.1=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/sunpkcs11-solaris.cfg
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncsecurity.provider.4=com.sun.net.ssl.internal.ssl.Provider
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncsecurity.provider.8=org.jcp.xml.dsig.internal.dom.XMLDSigRI
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncsecurity.provider.9=sun.security.smartcardio.SunPCSC
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Select the source of seed data for SecureRandom. By default an
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# attempt is made to use the entropy gathering device specified by
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# the securerandom.source property. If an exception occurs when
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# accessing the URL then the traditional system/thread activity
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# algorithm is used.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# On Solaris and Linux systems, if file:/dev/urandom is specified and it
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# exists, a special SecureRandom implementation is activated by default.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# This "NativePRNG" reads random bytes directly from /dev/urandom.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# On Windows systems, the URLs file:/dev/random and file:/dev/urandom
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# enables use of the Microsoft CryptoAPI seed functionality.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# The entropy gathering device is described as a URL and can also
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# be specified with the system property "java.security.egd". For example,
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Specifying this system property will override the securerandom.source
# Class to instantiate as the javax.security.auth.login.Configuration
# with -Djava.security.policy=somefile. Comment out this line to disable
keystore.type=jks
package.access=sun.
# or overridden on the command line via -Djava.security.properties
# the javax.net.ssl package.
ssl.KeyManagerFactory.algorithm=SunX509
# ocsp.enable=true
# then both the "ocsp.responderCertIssuerName" and
# "ocsp.responderCertSerialNumber" properties must be used instead. When this
# ocsp.responderCertSubjectName="CN=OCSP Responder, O=XYZ Corp"
# property is set then the "ocsp.responderCertSerialNumber" property must also
# be set. When the "ocsp.responderCertSubjectName" property is set then this
# ocsp.responderCertIssuerName="CN=Enterprise CA, O=XYZ Corp"
# validation. When this property is set then the "ocsp.responderCertIssuerName"
# property must also be set. When the "ocsp.responderCertSubjectName" property
# ocsp.responderCertSerialNumber=2A:FF:00