Commit graph

161 commits

Author SHA1 Message Date
Mikael Vidstedt
1f5e21a16e Merge 2020-07-15 21:24:39 -07:00
Mark Reinhold
55039aa1c6 8249205: Remove unnecessary trademark symbols
Reviewed-by: darcy, lancea, bpb, prr, jjg, cjplummer, iris, dfuchs, weijun, joehw, wetmore, bchristi
2020-07-15 14:21:54 -07:00
Weijun Wang
fc1b24e4e8 8243592: Subject$SecureSet::addAll should not call contains(null)
Reviewed-by: mullan
2020-07-09 09:22:01 +08:00
Joe Darcy
2f5d4c633b 8247374: Remove default constructors from javax.net.sslK
Reviewed-by: xuelei
2020-06-11 16:35:29 -07:00
Valerie Peng
b94314a0d9 8087327: CipherStream produces new byte array on every update or doFinal operation
Changed Cipher[In/Out]putStream to allocate a buffer and reuse it

Reviewed-by: weijun
2020-06-04 20:30:16 +00:00
Weijun Wang
bcbe46b0b3 8246397: Use KnownOIDs for known OIDs
Reviewed-by: xuelei
2020-06-04 10:04:32 +08:00
Prasadrao Koppula
aadc7c7ca8 8237474: Default SSLEngine should create in server role
Reviewed-by: xuelei, coffeys
2020-04-14 14:16:58 +00:00
Weijun Wang
8cd9241448 8242330: Arrays should be cloned in several JAAS Callback classes
Reviewed-by: mullan
2020-04-14 10:04:05 +08:00
Ivan Gerasimov
3790e58090 8241761: Typos: empty lines in javadoc, inconsistent indents, etc. (security-libs only)
Reviewed-by: weijun
2020-04-01 18:38:05 -07:00
Pavel Rappo
17ff85d4ad 8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
2020-03-20 20:54:56 +00:00
Xue-Lei Andrew Fan
d243e40f7b 8241039: Retire the deprecated SSLSession.getPeerCertificateChain() method
Reviewed-by: mullan, alanb, dfuchs
2020-03-20 09:15:00 -07:00
Valerie Peng
d4c0619b3b 8233016: javax.crypto.Cipher throws NPE for the given custom CipherSpi and Provider
Changed to throw IAE instead of NPE for non-null invalid arguments

Reviewed-by: mullan
2019-12-05 03:55:52 +00:00
Sean Mullan
b171594072 8214483: Remove algorithms that use MD5 or DES from security requirements
Reviewed-by: xuelei
2019-11-13 13:43:06 -05:00
Ivan Gerasimov
8e859259bc 8233884: Avoid looking up standard charsets in security libraries
Reviewed-by: coffeys
2019-11-12 01:36:17 -08:00
Joe Darcy
fbb4093562 8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes
Reviewed-by: mullan, chegar
2019-10-09 09:57:41 -07:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Joe Darcy
6d4ef5aaf3 8229999: Apply java.io.Serial annotations to security types in java.base
Reviewed-by: rriggs, mullan
2019-08-29 10:52:21 -07:00
Valerie Peng
6b662abe74 8180392: SunJCE provider should throw exceptions for unsupported mode and padding combinations
Change JCA Cipher class to create obj to ensure the mode and padding combination is supported

Reviewed-by: xuelei
2019-07-25 02:16:49 +00:00
Anthony Scarpino
200254b479 8226338: Updates to Stateless Resumption
Reviewed-by: xuelei, jnimeh
2019-07-17 14:37:50 -07:00
Valerie Peng
29215b987b 8181386: CipherSpi ByteBuffer to byte array conversion fails for certain data overlap conditions
Detect potential buffer overlap and use extra buffer if necessary

Reviewed-by: xuelei
2019-07-10 18:43:45 +00:00
Sean Mullan
6ad9eba4cd 8180005: Provide specific links in KeyManagerFactory and TrustManagerFactory to the Standard Algorithm Names Specification
Reviewed-by: ascarpino
2019-06-24 10:11:17 -04:00
Valerie Peng
74d45e481d 7107615: scalability bloker in javax.crypto.JceSecurity
Change to use ConcurrentHashMap instead of syncing on whole method

Reviewed-by: xuelei, alanb, dfuchs
2019-05-22 21:38:16 +00:00
Xue-Lei Andrew Fan
8263b618ba 8221882: Use fiber-friendly java.util.concurrent.locks in JSSE
Reviewed-by: alanb, dfuchs
2019-04-05 11:28:23 -07:00
Xue-Lei Andrew Fan
2eb8492163 8168261: Use server cipher suites preference by default
Reviewed-by: mullan
2019-04-01 16:50:17 -07:00
Xue-Lei Andrew Fan
42cb9bf51a 8160247: Mark deprecated javax.security.cert APIs with forRemoval=true
Reviewed-by: weijun
2019-03-13 07:14:50 -07:00
Andrey Turbanov
cfeb359800 8218022: Repeated words typos in java.base
Reviewed-by: alanb, lancea, mchung
2019-01-30 00:24:32 +00:00
Jaikiran Pai
55d96ac4c1 8217795: Typo in SSLSocket
Reviewed-by: xuelei
2019-01-25 07:56:42 -08:00
Jesper Wilhelmsson
a8c5f1e59a Merge 2019-01-15 22:54:09 +01:00
Henry Jen
def1ac3acc Merge 2018-12-13 11:51:06 -08:00
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Roger Riggs
938b844088 8214971: Replace use of string.equals("") with isEmpty()
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Roger Calnan
bef39b8c4d 8179943: Typo in javax.net.ssl.SSLSession.removeValue(String) method documentation
Reviewed-by: coffeys
2019-01-03 17:27:29 +00:00
Xue-Lei Andrew Fan
388e1ebbba 8210985: Update the default SSL session cache size to 20480
Reviewed-by: jnimeh, mullan
2018-11-29 08:43:12 -08:00
Sean Mullan
9f88ce2b1e 8214443: Remove TLS v1 and v1.1 from SSLContext required algorithms
Reviewed-by: xuelei
2018-11-29 08:50:25 -05:00
Valerie Peng
f094ffdbae 8203654: Improve cypher state updates
Reviewed-by: ascarpino
2018-06-14 23:47:05 +00:00
Sean Coffey
63b433923c 8210838: Override javax.crypto.Cipher.toString()
Reviewed-by: mullan, weijun
2018-11-19 09:56:42 +00:00
Xue-Lei Andrew Fan
3e9941ea2b 8212261: Add SSLSession accessors to HttpsURLConnection and SecureCacheResponse
Reviewed-by: mullan, chegar
2018-11-09 08:24:38 -08:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Sean Mullan
30745fe1a8 8212669: Add note to Cipher javadoc about using full transformation and not relying on defaults
Reviewed-by: xuelei
2018-11-01 16:53:54 -04:00
Adam Petcher
0aa4581229 8205476: KeyAgreement#generateSecret is not reset for ECDH based algorithm
Clarify spec of generateSecret and modify ECDH in SunEC to conform to spec

Reviewed-by: mullan
2018-10-30 13:48:19 -04:00
Adam Petcher
d45e830907 8201756: Improve cipher inputs
Clarify spec of CipherInputStream in Javadoc comments

Reviewed-by: ascarpino
2018-04-23 12:01:46 -04:00
Ivan Gerasimov
2ae27da3bc 8200381: Typos in javadoc - missing verb "be" and alike
Reviewed-by: lancea, darcy, wetmore
2018-10-02 10:19:07 -07:00
Anthony Scarpino
b27f471bdd 8209031: SSLSocket should throw an exception when configuring DTLS
Reviewed-by: xuelei
2018-09-17 14:04:46 -07:00
Ivan Gerasimov
27e26fbdd7 8210786: Typo s/overriden/overridden/ in several places
Reviewed-by: weijun
2018-09-15 22:02:08 -07:00
Jaikiran Pai
2e5e01b53c 8210785: Trivial typo fix in X509ExtendedKeyManager javadoc
Reviewed-by: xuelei
2018-09-14 20:30:28 -07:00
Jamil Nimeh
d9456186e8 8203614: Java API SSLEngine example code needs correction
Reviewed-by: wetmore, ascarpino
2018-08-17 21:36:02 -07:00
Joe Darcy
07ed14c5cf 8209304: Deprecate serialVersionUID fields in interfaces
Reviewed-by: lancea, mullan, rriggs, smarks
2018-08-17 13:37:01 -07:00
Xue-Lei Andrew Fan
611c53c860 8207009: TLS 1.3 half-close and synchronization issues
Reviewed-by: jnimeh, mullan, wetmore
2018-08-14 18:16:47 -07:00
Joe Darcy
4bac00436d 8209024: Use SuppressWarnings on serialVersionUID fields in interfaces
Reviewed-by: bpb, rriggs, mullan
2018-08-06 14:29:22 -07:00
Sean Coffey
7a791910c3 8208583: Better management of internal KeyStore buffers
Reviewed-by: weijun
2018-08-03 14:14:59 +01:00