Commit graph

140 commits

Author SHA1 Message Date
Valerie Peng
14623c6087 8292739: Invalid legacy entries may be returned by Provider.getServices() call
Reviewed-by: weijun
2022-08-24 18:23:19 +00:00
Weijun Wang
54ce11431d 6587699: Document DigestInputStream behavior when skip() or mark() / reset() is used
Reviewed-by: wetmore
2022-08-18 22:35:13 +00:00
Sean Coffey
9d7c13eb14 8155246: Throw error if default java.security file is missing
Reviewed-by: mullan
2022-08-15 09:07:17 +00:00
Mark Powers
f804f2ce8e 8284851: Update javax.crypto files to use proper javadoc for mentioned classes
Reviewed-by: weijun, valeriep
2022-07-07 23:20:58 +00:00
Kevin Driver
1855e9d201 8220732: setSeed(long) java api doc is missing warning about provided seed quality
Reviewed-by: wetmore
2022-06-15 21:03:04 +00:00
Mark Powers
17695962ac 8285263: Minor cleanup could be done in java.security
Reviewed-by: weijun
2022-06-13 15:13:56 +00:00
Valerie Peng
e60d8b516e 8253176: Signature.getParameters should specify that it can throw UnsupportedOperationException
Reviewed-by: weijun
2022-05-19 18:44:15 +00:00
Xue-Lei Andrew Fan
1904e9d280 8286423: Destroy password protection in the example code in KeyStore
Reviewed-by: weijun
2022-05-12 13:51:47 +00:00
Jonathan Gibbons
54e3308210 8286348: incorrect use of @serial
Reviewed-by: iris, prr
2022-05-09 20:35:05 +00:00
Sean Mullan
694556e137 8225433: Clarify behavior of PKIXParameters.setRevocationEnabled when PKIXRevocationChecker is used
Reviewed-by: xuelei, hchao
2022-04-29 12:27:43 +00:00
Joe Darcy
bba456a8db 8285676: Add missing @param tags for type parameters on classes and interfaces
Reviewed-by: wetmore, smarks, dfuchs, prr, alanb, mchung
2022-04-28 18:00:34 +00:00
Bradford Wetmore
cf1b00a604 8285683: Missing @ since 11 in java.security.spec.MGF1ParameterSpec fields
Reviewed-by: hchao, valeriep, xuelei, mullan
2022-04-27 23:54:37 +00:00
Valerie Peng
15ce8c6195 8284553: Deprecate the DEFAULT static field of OAEPParameterSpec
Reviewed-by: mullan
2022-04-20 17:23:06 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
XenoAmess
87faa85c59 8186958: Need method to create pre-sized HashMap
Reviewed-by: chegar, naoto, joehw, lancea, wetmore, smarks
2022-04-19 00:03:56 +00:00
Andrey Turbanov
8e58d4a589 8284415: Collapse identical catch branches in security libs
Reviewed-by: coffeys, xuelei, wetmore
2022-04-07 10:00:08 +00:00
Valerie Peng
028fbf474b 8254935: Deprecate the PSSParameterSpec(int) constructor
Reviewed-by: mullan
2022-04-01 18:37:39 +00:00
Luis Pinto
63fec5da27 8283525: http://tools.ietf.org/html/* URLs return 404
Reviewed-by: coffeys
2022-04-01 13:26:20 +00:00
Weijun Wang
e97cf157cf 8283691: Classes in java.security still reference deprecated classes in spec
Reviewed-by: hchao, mullan, wetmore
2022-03-25 21:21:05 +00:00
Weijun Wang
59b3ecc591 8277976: Break up SEQUENCE in X509Certificate::getSubjectAlternativeNames and X509Certificate::getIssuerAlternativeNames in otherName
6776681: Invalid encoding of an OtherName in X509Certificate.getAlternativeNames()

Reviewed-by: mullan
2022-02-28 17:00:47 +00:00
Andrey Turbanov
63e11cfa3f 8280970: Cleanup dead code in java.security.Provider
Reviewed-by: valeriep
2022-02-04 07:08:07 +00:00
Joe Darcy
9ca7ff3e4f 8281082: Improve javadoc references to JOSS
Reviewed-by: iris, rriggs, naoto, lancea
2022-02-01 22:30:08 +00:00
Andrey Turbanov
54c9de26ab 8275918: Remove unused local variables in java.base security code
Reviewed-by: weijun
2022-01-22 13:56:51 +00:00
Andrey Turbanov
9eb50a5ee4 8280010: Remove double buffering of InputStream for Properties.load
Reviewed-by: amenkov, sspitsyn, serb
2022-01-18 15:49:03 +00:00
Andrey Turbanov
debaa28e9c 8274679: Remove unnecessary conversion to String in security code in java.base
Reviewed-by: weijun
2022-01-10 15:02:57 +00:00
Aleksey Shipilev
0f4807e8fe 8279222: Incorrect legacyMap.get in java.security.Provider after JDK-8276660
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: alanb, valeriep
2022-01-05 07:29:17 +00:00
Valerie Peng
9b747491de 8276660: Scalability bottleneck in java.security.Provider.getService()
Reviewed-by: weijun
2021-12-08 17:44:10 +00:00
Weijun Wang
e1cde19dbd 8278247: KeyStoreSpi::engineGetAttributes does not throws KeyStoreException
Reviewed-by: mullan
2021-12-03 19:52:18 +00:00
Weijun Wang
a729a70c01 8225181: KeyStore should have a getAttributes method
Reviewed-by: mullan
2021-12-03 18:52:17 +00:00
Weijun Wang
7049c13cf4 8231107: Allow store password to be null when saving a PKCS12 KeyStore
Reviewed-by: mullan
2021-12-01 01:01:57 +00:00
Sean Mullan
a44b45fdf3 4337793: Mark non-serializable fields of java.security.cert.Certificate and CertPath
Reviewed-by: valeriep, rriggs
2021-11-18 13:48:12 +00:00
Andrey Turbanov
5a2452c80e 8274835: Remove unnecessary castings in java.base
Reviewed-by: mullan, naoto, lancea, bpb
2021-11-12 16:30:56 +00:00
Pavel Rappo
615063364a 8276348: Use blessed modifier order in java.base
Reviewed-by: dfuchs, darcy, iris, rriggs, martin
2021-11-03 10:07:48 +00:00
Andrey Turbanov
1459180f35 8274079: Cleanup unnecessary calls to Throwable.initCause() in java.base module
Reviewed-by: weijun
2021-10-05 13:36:37 +00:00
Andrey Turbanov
baafa6059e 8274237: Replace 'for' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, weijun
2021-09-24 16:46:52 +00:00
Andrey Turbanov
56b8b35286 8273261: Replace 'while' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, rriggs, iris, mullan
2021-09-23 20:04:36 +00:00
Pavel Rappo
8799856528 8274075: Fix miscellaneous typos in java.base
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
2021-09-23 08:08:39 +00:00
Bradford Wetmore
1fb798d320 8272915: (doc) package-info typo in extLink
Reviewed-by: xuelei
2021-08-27 23:01:51 +00:00
Bradford Wetmore
76baace2f0 8273045: Fix misc javadoc bugs in the java.security and javax.net.ssl code
Reviewed-by: xuelei
2021-08-27 05:11:25 +00:00
Andrey Turbanov
35b399aca8 8269130: Replace usages of Collection.toArray() with Collection.toArray(T[]) to avoid redundant array copying
Reviewed-by: mullan, serb
2021-08-10 13:27:59 +00:00
Patrick Concannon
35c4702055 8268967: Update java.security to use switch expressions
Reviewed-by: xuelei
2021-06-25 16:34:18 +00:00
Weijun Wang
40d23a0c0b 8267543: Post JEP 411 refactoring: security
Reviewed-by: mullan
2021-06-02 15:47:57 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Sergey Tsypanov
9425d3de83 8261880: Change nested classes in java.base to static nested classes where possible
Reviewed-by: redestad
2021-05-20 13:56:11 +00:00
Patrick Concannon
86b8dc9f5b 8265426: Update java.security to use instanceof pattern variable
Reviewed-by: rriggs, weijun, dfuchs
2021-05-07 13:42:40 +00:00
Hannes Wallnöfer
e0c86884e5 8262992: Improve @see output
Reviewed-by: jjg
2021-05-07 10:45:48 +00:00
Weijun Wang
f834557ae0 8258915: Temporary buffer cleanup
Reviewed-by: valeriep
2021-04-22 18:11:43 +00:00
Sean Mullan
7232e3c704 8249906: Enhance opening JARs
Reviewed-by: weijun, rhalade, mschoene
2021-04-20 21:45:52 +00:00
Jim Laskey
a0ec2cb289 8248862: Implement Enhanced Pseudo-Random Number Generators
Reviewed-by: darcy
2021-04-05 16:29:18 +00:00
Joe Darcy
815248ab27 8264148: Update spec for exceptions retrofitted for exception chaining
Reviewed-by: rriggs, smarks
2021-03-30 19:59:59 +00:00