Commit Graph

156 Commits

Author SHA1 Message Date
Lana Steuck
af7402f069 Merge 2015-12-02 09:34:55 -08:00
Weijun Wang
7779102abc 8141457: keytool default cert fingerprint algorithm should be SHA-256
Reviewed-by: mullan
2015-12-02 16:44:54 +08:00
Iris Clark
70e00d742f Merge 2015-11-29 20:29:45 -08:00
Iris Clark
b1b246fa7b Merge 2015-11-19 14:00:49 -08:00
Felix Yang
3c5dd5581c 8143015: 5 tests fail with error "Can't find source for class: java.util.stream.OpTestCase"
Reviewed-by: weijun
2015-11-16 12:54:01 +08:00
Rajan Halade
7ff9b4ac29 8048356: SecureRandom default provider tests
Reviewed-by: wetmore
2015-11-10 01:38:35 +03:00
Iris Clark
b7cb99d927 Merge 2015-10-25 19:16:39 -07:00
Weijun Wang
4768e44b34 8085904: Test timeout on Mac
Reviewed-by: wetmore
2015-10-09 09:33:54 +08:00
Iris Clark
3e5db5fac5 Merge 2015-10-05 20:55:53 -07:00
Iris Clark
d0bbb6c588 Merge 2015-09-29 11:46:31 -07:00
Amanda Jiang
8fb17dea79 8050402: Tests to check for use of policy files
Reviewed-by: mullan
2015-09-26 12:08:55 +03:00
Chris Hegarty
0cc24c29ca 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Vinnie Ryan
5d5ef39f51 8136534: Loading JKS keystore using non-null InputStream results in closed stream
Reviewed-by: mullan, wetmore
2015-09-18 17:54:28 +01:00
Frank Yuan
371edc6684 8074931: Additional tests for CertPath API
Reviewed-by: mullan
2015-09-15 12:43:12 +03:00
Iris Clark
2bfa80503f Merge 2015-09-14 10:00:25 -07:00
Artem Smotrakov
f1f48ab0d3 8134232: KeyStore.load() throws an IOException with a wrong cause in case of wrong password
Reviewed-by: vinnie
2015-09-14 19:49:28 +03:00
Iris Clark
9e0d78c661 Merge 2015-09-08 10:25:11 -07:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Vinnie Ryan
79e58cc0e5 8132786: java/security/cert/CertPathValidator/OCSP/AIACheck.java fails intermittently
Reviewed-by: mullan
2015-08-24 16:22:37 +01:00
Iris Clark
8db18e0442 Merge 2015-08-17 13:02:48 -07:00
Jamil Nimeh
e7f31340a0 8046321: OCSP Stapling for TLS
Initial feature commit for OCSP stapling in JSSE

Reviewed-by: xuelei, mullan
2015-08-05 12:19:38 -07:00
Iris Clark
959eee3901 Merge 2015-08-03 09:26:18 -07:00
Vinnie Ryan
c1cd222df9 8130850: Support loading a keystore with a custom KeyStore.LoadStoreParameter class
Reviewed-by: mullan
2015-07-31 14:29:25 +01:00
Iris Clark
636d3c2d95 Merge 2015-07-23 13:19:54 -07:00
Iris Clark
3542628ec7 8130696: Security Providers need to have their version numbers updated for JDK 9
Reviewed-by: ascarpino, mullan, valeriep, weijun, wetmore
2015-07-20 09:40:49 -07:00
Sean Mullan
981dbca21a 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
Reviewed-by: weijun
2015-07-20 09:03:03 -04:00
Vinnie Ryan
44db4a2bcb 8131359: Correct the JTREG tags in java/security/KeyStore/PKCS12/MetadataStoreLoadTest.java test
Reviewed-by: mullan
2015-07-15 18:42:12 +01:00
Bhanu Prakash Gopularam
13a6fbe6c0 8048830: Implement tests for new functionality provided in JEP 166
Reviewed-by: vinnie
2015-07-15 15:07:58 +01:00
Paul Sandoz
e56c76e9f7 8081678: Add Stream returning methods to classes where there currently exist only Enumeration returning methods
Reviewed-by: lancea, alanb, chegar, dfuchs, mullan, smarks
2015-06-09 07:10:02 +01:00
Mandy Chung
1465e16631 8130007: Update security tests to use Security.getProvider to get security provider
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Reviewed-by: mullan
2015-06-29 11:38:36 -07:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Valerie Peng
f3ff947746 8087157: PKCS11 provider not instantiated with security manager
Updated java.policy file with sun.misc pkg access permission for SunPKCS11 provider.

Reviewed-by: mullan
2015-06-25 17:53:52 +00:00
Sean Mullan
0338c81dbd 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
Reviewed-by: weijun
2015-06-12 12:50:41 -04:00
Sean Mullan
e37ef5fefc 8056179: Store permissions in concurrent collections in PermissionCollection subclasses
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class

Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Artem Smotrakov
6b7bbd4884 8050374: More Signature tests
Reviewed-by: valeriep
2015-05-25 11:47:41 +03:00
Vinnie Ryan
6deb69ac50 8072578: ProbeKeystores.java creates files in test.src
Reviewed-by: weijun
2015-05-21 17:42:15 +01:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Sean Mullan
5dbc7756f6 8075706: Policy implementation does not allow policy.provider to be on the class path
Reviewed-by: alanb, mchung
2015-05-12 13:13:06 -04:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Zaiyao Liu
35c411ea7e 8048618: Tests for PKCS12 write operations
Reviewed-by: weijun
2015-03-23 15:37:03 +08:00
Zaiyao Liu
7b95618234 8050371: More MessageDigest tests
Reviewed-by: xuelei
2015-03-04 08:10:23 +00:00
Amanda Jiang
a1f3c2d2fe 8048360: Test signed jar files
Reviewed-by: weijun
2015-03-04 10:12:25 +08:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Vinnie Ryan
befd7d1c25 8044445: JEP 229: Create PKCS12 Keystores by Default
Reviewed-by: mullan, weijun
2014-12-23 16:30:57 +00:00
Zaiyao Liu
bf31fc249e 8048619: Implement tests for converting PKCS12 keystores
Reviewed-by: weijun
2014-12-04 16:50:31 +08:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Mandy Chung
a76f56165c 8043277: Update jdk regression tests to extend the default security policy instead of override
Reviewed-by: alanb, mullan, chegar, sla
2014-10-27 13:45:39 -07:00
Jamil Nimeh
823f5f273e 8032573: CertificateFactory.getInstance("X.509").generateCertificates(InputStream) does not throw CertificateException for invalid input
Reviewed-by: weijun
2014-10-15 11:43:27 -07:00
Jason Uh
1f56f49cd0 8047223: Add algorithm parameter to EncodedKeySpec class and its two subclasses
Reviewed-by: mullan
2014-09-16 13:20:51 -07:00