openjsse.security 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #
  2. # This is the OpenJSSE provider security properties file.
  3. #
  4. # This property file replaces standard SunJSSE provider with OpenJSSE
  5. # provider to enable TLSv1.3 protocol functionality.
  6. # azul.java.security properties file may be specified
  7. # from the command line via the system property
  8. #
  9. # -Djava.security.properties=<Path to openjsse.security>
  10. #
  11. # This properties file appends to the master security properties file.
  12. # If both properties files specify values for the same key, the value
  13. # from the command-line properties file is selected, as it is the last
  14. # one loaded.
  15. #
  16. # Also, if you specify
  17. #
  18. # -Djava.security.properties==<URL> (2 equals),
  19. #
  20. # then that properties file completely overrides the master security
  21. # properties file.
  22. #
  23. #
  24. # OpenJSSE security provider in place of SunJSSE provider:
  25. #
  26. security.provider.4=org.openjsse.net.ssl.OpenJSSE
  27. #
  28. # TLS key limits on symmetric cryptographic algorithms
  29. #
  30. # This security property sets limits on algorithms key usage in TLS 1.3.
  31. # When the amount of data encrypted exceeds the algorithm value listed below,
  32. # a KeyUpdate message will trigger a key change. This is for symmetric ciphers
  33. # with TLS 1.3 only.
  34. #
  35. # The syntax for the property is described below:
  36. # KeyLimits:
  37. # " KeyLimit { , KeyLimit } "
  38. #
  39. # WeakKeyLimit:
  40. # AlgorithmName Action Length
  41. #
  42. # AlgorithmName:
  43. # A full algorithm transformation.
  44. #
  45. # Action:
  46. # KeyUpdate
  47. #
  48. # Length:
  49. # The amount of encrypted data in a session before the Action occurs
  50. # This value may be an integer value in bytes, or as a power of two, 2^29.
  51. #
  52. # KeyUpdate:
  53. # The TLS 1.3 KeyUpdate handshake process begins when the Length amount
  54. # is fulfilled.
  55. #
  56. # Note: This property is currently used by OpenJDK's JSSE implementation. It
  57. # is not guaranteed to be examined and used by other implementations.
  58. #
  59. jdk.tls.keyLimits=AES/GCM/NoPadding KeyUpdate 2^37