525 Commits

Author SHA1 Message Date
Matthew Donovan
39398075b7 8182621: JSSE should reject empty TLS plaintexts
Reviewed-by: xuelei
2023-04-11 04:21:17 +00:00
Weijun Wang
97276859ab 8305310: Calculate PublicKey from PrivateKey
Reviewed-by: mullan
2023-04-10 00:55:16 +00:00
Matthew Donovan
824a5e4c60 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Reviewed-by: rhalade
2023-03-15 17:39:11 +00:00
Jamil Nimeh
da044dd569 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: djelinski, weijun
2023-03-14 15:42:47 +00:00
Eirik Bjorsnos
31680b2bcf 8303410: Remove ContentSigner APIs and jarsigner -altsigner and -altsignerpath options
Reviewed-by: weijun
2023-03-14 11:48:59 +00:00
Rajan Halade
5b43804b79 8282201: Consider removal of expiry check in VerifyCACerts.java test
Reviewed-by: xuelei, mullan
2023-03-08 21:09:44 +00:00
Pavel Rappo
45a616a891 8303480: Miscellaneous fixes to mostly invisible doc comments
Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse
2023-03-07 15:31:42 +00:00
Weijun Wang
a97271e3b5 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded
Reviewed-by: mullan
2023-03-06 16:20:14 +00:00
Valerie Peng
394eac850c 8295425: Match the default priv exp length between SunPKCS11 and other JDK providers
Reviewed-by: weijun
2023-03-01 22:40:50 +00:00
Sean Mullan
26b111d714 8301700: Increase the default TLS Diffie-Hellman group size from 1024-bit to 2048-bit
Reviewed-by: xuelei
2023-02-15 13:25:50 +00:00
Rajan Halade
8c87a67419 8245654: Add Certigna Root CA
Reviewed-by: mullan
2023-02-09 20:48:37 +00:00
Weijun Wang
b56974209b 8301788: AlgorithmId should keep lowercase characters from 3rd party providers
Reviewed-by: mullan
2023-02-06 17:10:46 +00:00
Sibabrata Sahoo
7f313b0cef 8180266: Convert sun/security/provider/KeyStore/DKSTest.sh to Java Jtreg Test
Reviewed-by: rhalade
2023-02-03 05:19:47 +00:00
Hai-May Chao
b00b70c240 8286907: keytool should warn about weak PBE algorithms
Reviewed-by: mullan, weijun
2023-02-02 21:17:08 +00:00
Jamil Nimeh
1a3cb8c501 8296343: CPVE thrown on missing content-length in OCSP response
Reviewed-by: mullan, rhalade
2023-01-23 18:05:48 +00:00
Weijun Wang
b317658d69 8300399: EdDSA does not verify when there is no message
Reviewed-by: ascarpino
2023-01-19 18:32:08 +00:00
Weijun Wang
ba03f42a50 8299746: Accept unknown signatureAlgorithm in PKCS7 SignerInfo
Reviewed-by: kdriver, ascarpino, hchao
2023-01-06 18:46:37 +00:00
Ryan Wallace
92dfc735f2 8294526: sun/security/provider/SubjectCodeSource.java no longer referenced
Reviewed-by: weijun, xuelei
2023-01-03 13:52:47 +00:00
Matthias Baesken
d490f15e3b 8235297: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java fails intermittent
Reviewed-by: xuelei
2022-12-28 08:28:02 +00:00
Bill Huang
a3693ccc61 8295087: Manual Test to Automated Test Conversion
Reviewed-by: ssahoo, rhalade
2022-12-22 16:50:59 +00:00
Jaikiran Pai
e41686b405 8298710: Fix typos in test/jdk/sun/security/tools/jarsigner/
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: lancea
2022-12-16 05:16:40 +00:00
Mark Powers
79d163d499 8293412: Remove unnecessary java.security.egd overrides
Reviewed-by: xuelei, djelinski
2022-12-06 20:36:50 +00:00
Daniel Jeliński
2a243a33cc 8267617: Certificate's IP x509 NameConstraints raises ArrayIndexOutOfBoundsException
Reviewed-by: mullan
2022-12-06 08:24:17 +00:00
sendaoYan
82561de722 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout
Reviewed-by: weijun, wetmore
2022-12-05 07:41:42 +00:00
Xue-Lei Andrew Fan
b778cd52b3 8295010: Reduce if required in EC limbs operations
Reviewed-by: djelinski, jjiang
2022-11-29 17:39:40 +00:00
Weijun Wang
e174558cad 8296742: Illegal X509 Extension should not be created
Reviewed-by: mullan
2022-11-22 22:21:50 +00:00
Tobias Hartmann
42c2037429 8297382: Test fails to compile after JDK-8288047
Reviewed-by: chagedorn
2022-11-22 09:25:44 +00:00
Weijun Wang
ab6b7ef988 8296901: Do not create unsigned certificate and CRL
Reviewed-by: mullan
2022-11-18 02:21:03 +00:00
Weijun Wang
68d3ed5cee 8296442: EncryptedPrivateKeyInfo can be created with an uninitialized AlgorithmParameters
Reviewed-by: xuelei, kdriver, mullan
2022-11-16 20:30:34 +00:00
Weijun Wang
d3051a75a3 8296736: Some PKCS9Attribute can be created but cannot be encoded
Reviewed-by: xuelei, valeriep
2022-11-15 15:33:08 +00:00
Weijun Wang
a7c2338a6d 8296900: CertificateValidity fields are not optional
Reviewed-by: mullan
2022-11-14 19:46:43 +00:00
Weijun Wang
e1d298c12d 8296741: Illegal X400Address and EDIPartyName should not be created
Reviewed-by: xuelei, valeriep
2022-11-14 14:53:53 +00:00
Weijun Wang
27527b4975 8296612: CertAttrSet is useless
Reviewed-by: mullan
2022-11-10 22:23:58 +00:00
Weijun Wang
fa8a8668a6 8296675: Exclude linux-aarch64 in NSS tests
Reviewed-by: dcubed, mullan
2022-11-09 16:49:10 +00:00
Weijun Wang
671f84bd86 8296143: CertAttrSet's set/get mechanism is not type-safe
Reviewed-by: mullan
2022-11-08 22:35:29 +00:00
Matthias Baesken
8836b92593 8296226: Add constructors (String,Throwable) and (Throwable) to InvalidParameterException
Reviewed-by: mullan, mdoerr
2022-11-07 07:50:12 +00:00
Weijun Wang
16a041a67a 8296142: CertAttrSet::(getName|getElements|delete) are mostly useless
Reviewed-by: mullan
2022-11-02 14:40:47 +00:00
Weijun Wang
0d0bd7bd40 8296072: CertAttrSet::encode and DerEncoder::derEncode should write into DerOutputStream
Reviewed-by: xuelei, mullan
2022-11-01 12:49:11 +00:00
Sean Mullan
16744b3449 8256660: Disable DTLS 1.0
Reviewed-by: xuelei, hchao, wetmore
2022-10-31 16:46:40 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Daniel Jeliński
94caecbe57 8294906: Memory leak in PKCS11 NSS TLS server
Reviewed-by: valeriep
2022-10-13 09:29:17 +00:00
Bill Huang
ac1941425b 8294994: Update Jarsigner and Keytool i18n tests to validate i18n compliance
Reviewed-by: naoto
2022-10-12 22:17:19 +00:00
Daniel Jeliński
d1252653b0 8277970: Test jdk/sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java fails with "tag mismatch"
Reviewed-by: jnimeh, xuelei
2022-10-12 15:32:36 +00:00
Aleksey Shipilev
cddd6def9f 8279941: sun/security/pkcs11/Signature/TestDSAKeyLength.java fails when NSS version detection fails
Reviewed-by: valeriep
2022-09-20 20:11:45 +00:00
Weijun Wang
986b834148 8293489: Accept CAs with BasicConstraints without pathLenConstraint
Reviewed-by: mullan
2022-09-08 01:35:22 +00:00
Daniel Jeliński
205f992e9e 8293326: jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java slow on Windows
Reviewed-by: weijun, wetmore
2022-09-07 05:25:53 +00:00
Valerie Peng
ec1d338e15 8272243: Improve DER parsing
Reviewed-by: weijun, rhalade
2022-07-19 20:55:26 +00:00
Jayashree Huttanagoudar
31f7fc043b 8283082: sun.security.x509.X509CertImpl.delete("x509.info.validity") nulls out info field
Reviewed-by: weijun
2022-07-12 20:12:22 +00:00
Weijun Wang
1877533f75 6522064: Aliases from Microsoft CryptoAPI has bad character encoding
Reviewed-by: coffeys, hchao
2022-07-08 18:38:08 +00:00
Zdenek Zambersky
3e60e82814 8289301: P11Cipher should not throw out of bounds exception during padding
Reviewed-by: valeriep
2022-07-07 18:18:04 +00:00