46 Commits

Author SHA1 Message Date
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
Anthony Scarpino
4e46cc1392 8204196: integer cleanup
Reviewed-by: xuelei
2018-07-20 09:55:15 -07:00
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Valerie Peng
c3a97b27e2 8178374: Problematic ByteBuffer handling in CipherSpi.bufferCrypt method
Updated the impl and added reg test to cover all 4 combinations of ByteBuffers

Reviewed-by: ascarpino
2018-06-11 21:56:58 +00:00
Jamil Nimeh
fcb805f9a6 8153029: ChaCha20 Cipher Implementation
Add the ChaCha20 and ChaCha20-Poly1305 Cipher implementations

Reviewed-by: mullan
2018-05-31 07:05:10 -07:00
Valerie Peng
9e8d9fe1ee 8146293: Add support for RSASSA-PSS Signature algorithm
Add RSASSA-PSS key and signature support to SunRsaSign provider

Reviewed-by: wetmore
2018-05-21 23:40:52 +00:00
Weijun Wang
8fb70c710a 8189997: Enhance keystore mechanisms
8194259: keytool error: java.io.IOException: Invalid secret key format

Reviewed-by: mullan, valeriep, rriggs, ahgross
2018-01-12 08:06:24 +08:00
Adam Petcher
093f473288 8182362: Update CipherOutputStream Usage
Clarify spec of CipherOutputStream in Javadoc comments

Reviewed-by: ascarpino
2018-01-02 09:23:01 -05:00
Jonathan Gibbons
6a8ea38ecc 8199465: {@docRoot} references need to be updated to reflect new module/package structure
Reviewed-by: martin, alanb, chegar
2018-03-27 16:25:40 -07:00
Weijun Wang
50484af54b 8191139: Remove deprecated javax.security.auth.Policy API
Reviewed-by: mullan
2018-03-08 12:20:26 +08:00
Weijun Wang
2dfe7fb8ab 8159535: Mark deprecated javax.security.auth.Policy API with forRemoval=true
Reviewed-by: mullan
2017-10-27 21:10:56 +08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00