summaryrefslogtreecommitdiffstats
path: root/support
Commit message (Collapse)AuthorAgeFilesLines
* Check the EE's eKU extension field, if present.Chris Palmer2013-04-061-19/+62
| | | | | | | BUG=https://code.google.com/p/chromium/issues/detail?id=167607 and https://b.corp.google.com/issue?id=7920492 Change-Id: Ib917c3a4a8ea6a12f685c44056aa44aa414d45e6
* Cleanup openssl test generation scripts to work in any directoryBrian Carlstrom2013-03-202-63/+63
| | | | Change-Id: I7ac00ef5c7efe6fc243bd2663c31ef8ad8af9445
* Add test for empty CRLKenny Root2013-03-062-1/+4
| | | | Change-Id: Ie8b099eec5628e5c577cff23050431d4ed1e2be2
* SigAlgParams and other testsKenny Root2013-03-0538-60/+75
| | | | | | Add tests for getSigAlgParams using RSA-PSS signatures. Change-Id: Ib24b75a873dcc2007c6d511c6d307c92391a3f58
* Tracking bouncycastle 1.48 upgradeBrian Carlstrom2013-02-121-2/+6
| | | | Change-Id: I3c43882dda27b5596c6823f5f0711049803ac985
* X509CertificateTest: test for empty subjectAltNamesKenny Root2013-01-073-0/+4
| | | | | | If the subjectAltNames field is missing, providers should return null Change-Id: If11202d97e0a5a41ca598fb7df3320d6a20474c9
* Add test for X509CertificateFactory#generateCertificatesKenny Root2013-01-025-0/+101
| | | | Change-Id: I461881d515201829eae08046574824dbda30d460
* Add X509CRLTest in libcore testsKenny Root2013-01-0230-7/+43
| | | | Change-Id: I551d6ea887e06481a3eaefec980a728a8c4191f7
* Add X509CertificateTest in libcore testsKenny Root2013-01-0124-0/+369
| | | | Change-Id: I678a8b89d0514c270ce0ee57057cfaadf3b47543
* resolved conflicts for merge of eef7e935 to jb-mr1-dev-plus-aospBrian Carlstrom2012-11-011-4/+0
|\ | | | | | | Change-Id: I1af764dffabdfa63bc383b606d0c86451bdf64dd
| * Test to verify BC Signature algorithms by OIDBrian Carlstrom2012-11-011-4/+0
| | | | | | | | | | Bug: 7453821 Change-Id: I69408d0bb4063e34441ed1d7632fd1ccac39965b
| * Fix ConcurrentCloseTest flakiness.Elliott Hughes2012-10-161-25/+35
| | | | | | | | | | | | | | | | | | | | | | We can't rely on consuming all the listen(2) backlog. For the tests we've seen fail because they sometimes connect rather than time out, switch to an unroutable address. (cherry-pick of babccbf9e429c4c78aca24c205825ceaaf7d3f37.) Bug: 6971145 Change-Id: Ibfa412ff1ad7da7e63842d0162cc67a706e2b27e
| * Change OpenSSLCipherRSA.{engineGetBlockSize,engineGetOutputSize} to return ↵Brian Carlstrom2012-10-101-0/+40
| | | | | | | | | | | | | | | | | | result based on key size Includes cherry-pick of 847f22adbd0e829b84491d7202dcbed5bf67a98c Bug: 7192453 Change-Id: Ib5fa1e313d942d2c1034e8e7831af285ad24d71d
* | am adcea0bf: Merge "Prefer PKIX algorithm name for TrustManagerFactory and ↵Brian Carlstrom2012-10-291-12/+11
|\ \ | | | | | | | | | | | | | | | | | | KeyManagerFactory" * commit 'adcea0bf53b5b932013d8290619f17715b33f139': Prefer PKIX algorithm name for TrustManagerFactory and KeyManagerFactory
| * | Prefer PKIX algorithm name for TrustManagerFactory and KeyManagerFactoryBrian Carlstrom2012-10-291-12/+11
| | | | | | | | | | | | Change-Id: I3da5bdf6739c6aee5ec0174e93cd6c06d6dfeeb3
* | | am d2f41fe2: Merge "Fix ConcurrentCloseTest flakiness."Elliott Hughes2012-10-161-25/+35
|\ \ \ | |/ / | | | | | | | | | * commit 'd2f41fe210bf0fe958345f84e95e8f037c325005': Fix ConcurrentCloseTest flakiness.
| * | Fix ConcurrentCloseTest flakiness.Elliott Hughes2012-10-161-25/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | We can't rely on consuming all the listen(2) backlog. For the tests we've seen fail because they sometimes connect rather than time out, switch to an unroutable address. Bug: 6971145 Change-Id: I259d31b1a15123bcd78c36849d5ed863d392ac20
* | | am 0bf8e7a3: Merge "Add support for ECDSA signatures on jar files"Kenny Root2012-10-121-0/+0
|\ \ \ | |/ / | | | | | | | | | * commit '0bf8e7a3145bbc6a32f5b88364a923af40434b61': Add support for ECDSA signatures on jar files
| * | Add support for ECDSA signatures on jar filesKenny Root2012-10-121-0/+0
| | | | | | | | | | | | Change-Id: If928f2244b3a0809255d6619c25268beb84f76d3
* | | am 6508bcc2: Merge "Add stronger digest support to JarVerifier"Kenny Root2012-10-103-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit '6508bcc268f74b04dfcd04b1cafb5f293ad0f690': Add stronger digest support to JarVerifier
| * | Add stronger digest support to JarVerifierKenny Root2012-10-103-0/+1
| | | | | | | | | | | | | | | | | | | | | Adds support for SHA-256, SHA-384, and SHA-512. Bug: http://code.google.com/p/android/issues/detail?id=38321 Change-Id: I9bf3f9cb2fa53b9f980e6c1cffcba81aa289a762
* | | am 9560ed5e: am 6ff99058: Merge "OpenSSLCipher: add Ciphers to StandardNames"Kenny Root2012-10-041-0/+20
|\ \ \ | |/ / | | | | | | | | | * commit '9560ed5ed4229f17df8e09d9a40f4c8f30e68b0d': OpenSSLCipher: add Ciphers to StandardNames
| * | OpenSSLCipher: add Ciphers to StandardNamesKenny Root2012-10-041-0/+20
| | | | | | | | | | | | Change-Id: Ib990dd170d4c94ceea065748aceeb3bb4a297438
* | | am 67c7510f: am f776b18f: Merge "Add more CipherTest tests"Kenny Root2012-09-281-0/+40
|\ \ \ | |/ / | | / | |/ |/| * commit '67c7510f9ca84347ec029023b3f04832f4453b9f': Add more CipherTest tests
| * Add more CipherTest testsKenny Root2012-09-281-0/+40
| | | | | | | | Change-Id: I29f55e41335021945029e410d4e51e2c8f564285
* | Tracking upgrade to bouncycastle 1.47Brian Carlstrom2012-09-121-8/+0
| | | | | | | | Change-Id: Ie1f2ae92638e81ccd7e4ec2459199e6eecdac75f
* | am a1359997: am 9f519e17: Merge "Add OpenSSLProvider support for ↵Brian Carlstrom2012-09-121-0/+1
|\ \ | |/ | | | | | | | | | | Cipher.RSA/None/PKCS1Padding" * commit 'a1359997a83e4d1aefdb7ae23f73b61420d37964': Add OpenSSLProvider support for Cipher.RSA/None/PKCS1Padding
| * Add OpenSSLProvider support for Cipher.RSA/None/PKCS1PaddingBrian Carlstrom2012-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: - Add OpenSSLProvider support for Cipher.RSA/None/PKCS1Padding Added NativeCrypto.RSA_private_decrypt and NativeCrypto.RSA_public_encrypt - Changed OpenSSLSignatureRawRSA to use new Cipher.RSA/None/PKCS1Padding Removed now obsoleted NativeCrypto APIs for RSA_padding_add_PKCS1_type_1 and RSA_padding_check_PKCS1_type_1 - added wrap/unwrap support OpenSSLCipherRSA Needed for SSLEngine (and fallback SSLSocket implementation) which are now picking up the new Cipher.RSA/None/PKCS1Padding - expanded CipherTest to sanity test all algorithms and PKCS1 padding Change-Id: I03566cc86ffce07d44d5e0094fa82c9c24587c26
* | Add Android KeyStore provider to StandardNamesKenny Root2012-08-291-0/+6
|/ | | | Change-Id: Ic4bbcf5be005a74f5263e40f406f8c741e5d8d5e
* Add new Android-only algos to StandardNamesKenny Root2012-08-151-0/+4
| | | | | | | | | The ProviderTest fails if we don't add these to StandardNames. Change the name of Signature.RAWRSA to "NONEwithRSA" so it matches the convention in existing algorithms. Change-Id: Id126eca46ee3b9f9d19aee596c1babd489693c7a
* Remove SSLContext TLSv1.1 and TLSv1.2 from expected list for RIBrian Carlstrom2012-08-011-0/+6
| | | | Change-Id: Ie506337882a878df77073c0c8117dfdc8d33b670
* Fix URLConnectionTest#test_getAllowUserInteraction.Elliott Hughes2012-07-242-13/+17
| | | | | | | | | | | Also improve the documentation, make it possible to run these tests individually outside of CTS with vogar, and remove a few more URLs of external web servers. We should clean up all tests to remove all reliance on external web servers. Bug: http://code.google.com/p/android/issues/detail?id=35400 Change-Id: I28e78b7375ee554b3afe98e5249676e8bbbbec0e
* Start removing Support_PortManager.Elliott Hughes2012-07-181-38/+8
| | | | | | | A bad idea, badly implemented. Bug: 2441548 Change-Id: I34c990f6fd9d746771846f186a7ab3ab59e78a9f
* Split OpenSSLRSAPrivateCrtKey from OpenSSLRSAPrivateKeyBrian Carlstrom2012-03-221-42/+9
| | | | Change-Id: I6a58044162758b3b74db5d17e9044f97dbe53bae
* Tracking openssl-1.0.1Brian Carlstrom2012-03-212-6/+19
| | | | | | Bug: 6168278 Change-Id: I240d2cbc91f616fd486efc5203e2221c9896d90f
* Kill SerializationTester; obsoleted by SerializableTester.Jesse Wilson2011-12-131-246/+0
| | | | | Bug: http://b/5397460 Change-Id: Ic20f4363c8937d5feff0dec89e5de7ccf20f1dac
* Always trigger finalization the same way in our tests.Jesse Wilson2011-11-171-4/+3
| | | | | | | This came up when I was recently writing a ZipFile finalization test and I needed to copy-paste the finalizer recipe. Change-Id: Ia67061b3dba1a7011c93c9a81e2a963876b238a1
* Set ANDROID_DATA for DalvikExecTestBrian Carlstrom2011-10-141-3/+3
| | | | | | | Also increase timeout to allow for dexopt of BOOTCLASSPATH Bug: 5310023 Change-Id: Icaa81a3bb3cea10c610e6ad671a001f6dbfeda17
* Fix a couple of isReachable bugs.Elliott Hughes2011-09-301-6/+6
| | | | | | | | | | | | | | | | | | | We shouldn't throw NPE if you call isReachable on a deserialized InetAddress. Fixed by removing the "globals", which also fixes the unreported bug that calling isReachable on the same InetAddress was not thread-safe. Bug: http://code.google.com/p/android/issues/detail?id=20203 Also, the arguments to isReachableByTCP in isReachable(NetworkInterface, int, int) were the wrong way round, which meant we'd always return false (unless you were asking if localhost was reachable). Bug: http://code.google.com/p/android/issues/detail?id=20107 Bug: 2497441 Bug: 3213503 Change-Id: Ic808e774c28be6487e30e6acb8bc06f766f5c71d
* Fix ClassLoaderBuilder to work in an APK file.Jesse Wilson2011-08-121-1/+20
| | | | | | This was breaking several CTS tests. Change-Id: I76a87deeb9a1f7b056adb72447001cf5e23ec0b3
* am 8624c425: Merge "Use the same host name in the SSL cert as in mockwebserver."Jesse Wilson2011-06-082-6/+9
|\ | | | | | | | | * commit '8624c4256089f54a58cbdd0ad2cf90af9b8f8973': Use the same host name in the SSL cert as in mockwebserver.
| * Use the same host name in the SSL cert as in mockwebserver.Jesse Wilson2011-06-082-6/+9
| | | | | | | | | | | | | | | | | | MockWebServer had to revert to getLocalHost() since 'getLoopbackAddress() doesn't exist on Java 6 and MockWebServer wants to work on Java 6. Tested on host and device without problem. Change-Id: Ib083ec393d34b2378da579ffc7b6a71d599f9d22
* | am fd92a508: Merge "Use external/mockwebserver in libcore"Jesse Wilson2011-06-071-0/+3
|\ \ | |/ | | | | | | * commit 'fd92a50839c5327c5d32d65315fde5d52c9da03d': Use external/mockwebserver in libcore
| * Use external/mockwebserver in libcoreJesse Wilson2011-06-071-0/+3
| | | | | | | | Change-Id: I4dac34f88b23484643bce31e5f25ac6eb1fea426
* | am 003f7a4d: Make test initialization lazyBrian Carlstrom2011-06-061-1/+1
|\ \ | |/ | | | | | | * commit '003f7a4d100cd1527d94bac81a4a3c5a8216c6ee': Make test initialization lazy
| * Make test initialization lazyBrian Carlstrom2011-06-041-1/+1
| | | | | | | | | | | | Bug: 4311645 Change-Id: I4280d7ddb2a78f0e33564f3b40cfeb5c671e134a
* | Remove more dead "security theater" cruft.Elliott Hughes2011-06-043-109/+4
|/ | | | | | | There's probably still more stuff lying around that isn't useful, but this was all I had time for on this particular Friday afternoon... Change-Id: I69593f6c9ab5534d581c703cc85a9766ba8e40e5
* Make ErrnoException a checked exception.Elliott Hughes2011-05-271-1/+1
| | | | | Bug: 4486011 Change-Id: I1877ce593d441653f75ab14884aa2d85f52652ad
* am e2fdfbde: Merge "OpenSSLSocketImpl should tolerate X509KeyManager ↵Brian Carlstrom2011-05-241-80/+123
|\ | | | | | | | | | | | | returning null values" * commit 'e2fdfbde569a4cc284590c92bc57dc15dcc29a9c': OpenSSLSocketImpl should tolerate X509KeyManager returning null values
| * OpenSSLSocketImpl should tolerate X509KeyManager returning null valuesBrian Carlstrom2011-05-241-80/+123
| | | | | | | | | | | | | | | | | | | | | | While this started out as the small fix in OpenSSLSocketImpl.setCertificate and the corresponding test test_SSLSocket_clientAuth_bogusAlias, the need to test the behavior of the X509KeyManager returning null on the RI led to test maintenance to get libcore.javax.net.ssl tests working on RI 7 thanks to a test dependency that was added on the new InetAddress.getLoopbackAddress(). Change-Id: I3d8ed1ce453cc3a0b53e23e39c02e6a71413649c