src/java.base/share/conf/security/java.security

Print this page
7191662: JCE providers should be located via ServiceLoader


  62 # either the addProvider or insertProviderAt method in the Security
  63 # class.
  64 
  65 #
  66 # List of providers and their preference orders (see above):
  67 #
  68 #ifdef solaris
  69 security.provider.tbd=com.oracle.security.ucrypto.UcryptoProvider ${java.home}/conf/security/ucrypto-solaris.cfg
  70 security.provider.tbd=sun.security.pkcs11.SunPKCS11 ${java.home}/conf/security/sunpkcs11-solaris.cfg
  71 #endif
  72 security.provider.tbd=sun.security.provider.Sun
  73 security.provider.tbd=sun.security.rsa.SunRsaSign
  74 security.provider.tbd=sun.security.ec.SunEC
  75 security.provider.tbd=com.sun.net.ssl.internal.ssl.Provider
  76 security.provider.tbd=com.sun.crypto.provider.SunJCE
  77 security.provider.tbd=sun.security.jgss.SunProvider
  78 security.provider.tbd=com.sun.security.sasl.Provider
  79 security.provider.tbd=org.jcp.xml.dsig.internal.dom.XMLDSigRI
  80 security.provider.tbd=sun.security.smartcardio.SunPCSC
  81 security.provider.tbd=sun.security.provider.certpath.ldap.JdkLDAP

  82 #ifdef windows
  83 security.provider.tbd=sun.security.mscapi.SunMSCAPI
  84 #endif
  85 #ifdef macosx
  86 security.provider.tbd=apple.security.AppleProvider
  87 #endif
  88 
  89 #
  90 # Sun Provider SecureRandom seed source.
  91 #
  92 # Select the primary source of seed data for the "SHA1PRNG" and
  93 # "NativePRNG" SecureRandom implementations in the "Sun" provider.
  94 # (Other SecureRandom implementations might also use this property.)
  95 #
  96 # On Unix-like systems (for example, Solaris/Linux/MacOS), the
  97 # "NativePRNG" and "SHA1PRNG" implementations obtains seed data from
  98 # special device files such as file:/dev/random.
  99 #
 100 # On Windows systems, specifying the URLs "file:/dev/random" or
 101 # "file:/dev/urandom" will enable the native Microsoft CryptoAPI seeding




  62 # either the addProvider or insertProviderAt method in the Security
  63 # class.
  64 
  65 #
  66 # List of providers and their preference orders (see above):
  67 #
  68 #ifdef solaris
  69 security.provider.tbd=com.oracle.security.ucrypto.UcryptoProvider ${java.home}/conf/security/ucrypto-solaris.cfg
  70 security.provider.tbd=sun.security.pkcs11.SunPKCS11 ${java.home}/conf/security/sunpkcs11-solaris.cfg
  71 #endif
  72 security.provider.tbd=sun.security.provider.Sun
  73 security.provider.tbd=sun.security.rsa.SunRsaSign
  74 security.provider.tbd=sun.security.ec.SunEC
  75 security.provider.tbd=com.sun.net.ssl.internal.ssl.Provider
  76 security.provider.tbd=com.sun.crypto.provider.SunJCE
  77 security.provider.tbd=sun.security.jgss.SunProvider
  78 security.provider.tbd=com.sun.security.sasl.Provider
  79 security.provider.tbd=org.jcp.xml.dsig.internal.dom.XMLDSigRI
  80 security.provider.tbd=sun.security.smartcardio.SunPCSC
  81 security.provider.tbd=sun.security.provider.certpath.ldap.JdkLDAP
  82 security.provider.tbd=com.sun.security.sasl.gsskerb.JdkSASL
  83 #ifdef windows
  84 security.provider.tbd=sun.security.mscapi.SunMSCAPI
  85 #endif
  86 #ifdef macosx
  87 security.provider.tbd=apple.security.AppleProvider
  88 #endif
  89 
  90 #
  91 # Sun Provider SecureRandom seed source.
  92 #
  93 # Select the primary source of seed data for the "SHA1PRNG" and
  94 # "NativePRNG" SecureRandom implementations in the "Sun" provider.
  95 # (Other SecureRandom implementations might also use this property.)
  96 #
  97 # On Unix-like systems (for example, Solaris/Linux/MacOS), the
  98 # "NativePRNG" and "SHA1PRNG" implementations obtains seed data from
  99 # special device files such as file:/dev/random.
 100 #
 101 # On Windows systems, specifying the URLs "file:/dev/random" or
 102 # "file:/dev/urandom" will enable the native Microsoft CryptoAPI seeding