summaryrefslogtreecommitdiffstats
path: root/support
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | am 35e2b734: Merge "JarFile: finish support for authenticated attributes"Kenny Root2013-07-011-0/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '35e2b734149e88874883e48785f8263a8972ec61': JarFile: finish support for authenticated attributes
| * | | | | | JarFile: finish support for authenticated attributesKenny Root2013-07-011-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was an unfinished code path to use Authenticated Attributes to verify JAR files. This finishes it up and allows PKCS#7 signatures with that field instead of a direct digest on the encapsulated data. The description of Authenticated Attributes can be found in RFC 3852 section 9 referred to as "authAttrs." Bug: 9625223 Change-Id: Ia2c8fc09d39fbb67c1bdcdfe087f185471dcedd4
* | | | | | | am b5ba804a: Merge "Fix @deprecated javadoc orthography."Elliott Hughes2013-06-062-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'b5ba804a3b6d00c63a59902b782c11a0af9ed205': Fix @deprecated javadoc orthography.
| * | | | | | Fix @deprecated javadoc orthography.Elliott Hughes2013-06-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6db6d91e21b8e1aca5b5338534196fd5bdef8a06
* | | | | | | am 0897c605: Merge "PBKDF2 tests to exercise new, correct PBE implementation."Brian Carlstrom2013-06-031-0/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | / / / / / | |/ / / / / |/| | | | | * commit '0897c6055311bf665365cbb8cae46aadc18d4d45': PBKDF2 tests to exercise new, correct PBE implementation.
| * | | | | PBKDF2 tests to exercise new, correct PBE implementation.William Luh2013-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8312059 Change-Id: I614a43a0022393cb16250f4991a7156b05b0860c
| * | | | | CipherTest fixesBrian Carlstrom2013-05-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 9095447 (cherry picked from commit 1eba66d802f4edfaa3ca599f196e282bc110eff9) Change-Id: I6709eebcbede0ba617462bf49dd858f98246555f
| * | | | | 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
* | | | | CipherTest fixesBrian Carlstrom2013-05-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 9095447 Change-Id: Ieba76865c4da4260949391389611dfd09bc5e326
* | | | | Rename AndroidKeyStoreProvider -> AndroidKeyStoreKenny Root2013-04-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8657552 Change-Id: I2659f1b67bb0fc298a187938d560fd57d3ceb214
* | | | | Rename AndroidKeyStore in tests to match implKenny Root2013-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The KeyPairGenerator was renamed in frameworks/base, but it is tested during CTS so the StandardNames in libcore needs to be updated to know about this change as well so tests that use StandardNames don't have erroneous returns. Bug: 8626181 Change-Id: I079eb650d2dbe7baa204ff8d110a5389132e32a4
* | | | | Check the EE's eKU extension field, if present.Chris Palmer2013-04-071-19/+62
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG=https://code.google.com/p/chromium/issues/detail?id=167607 and https://b.corp.google.com/issue?id=7920492 (cherry picked from commit 0da1515c5fe4e97fc2d4d24a41ebd4c078fec4db) Change-Id: I4309d4a90a9d41390f41c748fa1442ed736e225f
* | | | 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