| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add a test to verify that we error out when the manifest
declares a file which isn't present in the jar.
Bug: 1162500
Change-Id: I3c6814c500d218036a5c0515e9f4f93e3f7a63d5
|
|
|
|
|
|
|
|
|
| |
If the certs in the PKCS#7 bag are in a loop, it will go on forever
trying to build a chain. Instead just stop trying to build the chain
when our chain exceeds the length of the candidates.
Bug: 17972577
Change-Id: If4f92e3eeabe893612a618bab0068a0f8cf75ea9
|
|\
| |
| |
| | |
Change-Id: Iaeaea9b44423257e8ccbcf631f40720d3035cecd
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
297a7de2: am 183efbb4: am 4629f94a: am e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev
* commit '42db8377fdd20cdff6cac1994b25382551270a26':
JarFile: make test chain 3 long
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
183efbb4: am 4629f94a: am e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev
* commit '15e6f173de11133e1a61090635e350303ac0481a':
JarFile: make test chain 3 long
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev
* commit 'ddc91700a5bed8e2b7214d6ca1e317929e378bc7':
JarFile: make test chain 3 long
|
| | | | |\
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"JarFile: make test chain 3 long" into jb-dev
* commit '297a7de2a15cae179d6713182641bddfdf89f397':
JarFile: make test chain 3 long
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I761f0a652a8502e28a4f9bb15ac9782d3ad42355
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some chains using the old code will have incorrect splits between
CodeSigner paths.
Bug: 13678484
Change-Id: Ia77b7cbcde9394e0d48a6f082bbd1cdfd880d74b
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
5321ebb7: am 6d949cbf: am 951aa4f4: am 531968cf: am cb11b9ff: Tests for API to check certificate chain signatures
* commit '0779dcac1bdc0d6d02ef6e4843a312aa03081f03':
Tests for API to check certificate chain signatures
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
6d949cbf: am 951aa4f4: am 531968cf: am cb11b9ff: Tests for API to check certificate chain signatures
* commit '008fbfd0ff37cb88047825d56d2116d0f62b69a5':
Tests for API to check certificate chain signatures
|
| | |\ \ \
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
531968cf: am cb11b9ff: Tests for API to check certificate chain signatures
* commit 'ced71a503c6cf79b0cee407123d9df94bf988e0b':
Tests for API to check certificate chain signatures
|
| | | |\ \
| | | | |/
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
API to check certificate chain signatures
* commit '5321ebb789eb77b5fc4c6e2e5d2fcaba242d275d':
Tests for API to check certificate chain signatures
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 13678484
Change-Id: Ibc14b3e9b1159c7b0b130d01fac933f71a99ad96
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
These resources were used only by DalvikExecTest.
Change-Id: Icb063fcf96593eeb3c6d9392214b3bc67305af53
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Update cert tests to save the private keys and also change the main
certificate to a negative serial to exercise more corner cases.
Change-Id: Ia59eece8ced0988b140ebf2e932b54298047f32d
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The test case with the escaped URL still fails.
Change-Id: Iae3a58fea800d8b981cb09474d1fa77b7c361e4e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This has been deduped against :
libcore/luni/src/test/java/org/apache/harmony/luni/tests
libcore/luni/src/test/java/tests/api/
libcore/harmony-tests/src/test/java/tests/api
This is a minimal change that builds the entire test suite.
Many tests don't pass yet, they will be fixed in follow ups.
Notable tests that haven't been moved:
- ExcludedProxyTest: Might make requests to (now defunct)
external servers. All of this code is tested in okhttp.
- URLClassLoaderTest: Has a dependency on jetty, tested in
okhttp.
Notable test cases that haven't been moved:
- URLTest: overlap with okhttp, might make requests to
external servers.
- ServerSocketTest#test_init: Uses Support_execJava, which
we don't support yet. Isn't testing anything useful.
- FileTest#testDeleteOnExist: Uses Support_execJava which we don't
support yet. This is a useful test and we must ressurect it if
at all possible.
bug: 11650799
Change-Id: Ib277eb0bad465ea72b090168490a1a633611b3f3
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The original code tried getting an instance of the DigestAlgorithm by
itself as a Signature type. This appears meant to be the
DigestEncryptionAlgorithm by itself. Algorithms such as SHA256withECDSA
have their own OID.
Change-Id: I9384127bb026c8a5d3956095a9880427ead366b4
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I7ac00ef5c7efe6fc243bd2663c31ef8ad8af9445
|
| |
| |
| |
| | |
Change-Id: Ie8b099eec5628e5c577cff23050431d4ed1e2be2
|
| |
| |
| |
| |
| |
| | |
Add tests for getSigAlgParams using RSA-PSS signatures.
Change-Id: Ib24b75a873dcc2007c6d511c6d307c92391a3f58
|
| |
| |
| |
| |
| |
| | |
If the subjectAltNames field is missing, providers should return null
Change-Id: If11202d97e0a5a41ca598fb7df3320d6a20474c9
|
| |
| |
| |
| | |
Change-Id: I461881d515201829eae08046574824dbda30d460
|
| |
| |
| |
| | |
Change-Id: I551d6ea887e06481a3eaefec980a728a8c4191f7
|
| |
| |
| |
| | |
Change-Id: I678a8b89d0514c270ce0ee57057cfaadf3b47543
|
| |
| |
| |
| | |
Change-Id: If928f2244b3a0809255d6619c25268beb84f76d3
|
|/
|
|
|
|
|
| |
Adds support for SHA-256, SHA-384, and SHA-512.
Bug: http://code.google.com/p/android/issues/detail?id=38321
Change-Id: I9bf3f9cb2fa53b9f980e6c1cffcba81aa289a762
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Ensure that there's a direct mapping from the class to its test,
so we're more likely to run the right tests. I've broken GzipTest
into two for this.
2. Include actual data rather than always round-tripping, to avoid
potential symmetric errors. (This wasn't important in this case.)
3. Remove a dead file that belonged to a test that's already been
removed.
Bug: 3164285
Change-Id: I312237454eead26d0dbbdb8f6339aa29ed8eea4e
|
|
|
|
|
|
| |
This regressen was introduced by harmony optimizations done in HARMONY-4569.
This fix allows for jar entries of size 0 to also get successfully validated.
A regression test has been added to JarFileTest.
|
| |
|
| |
|
| |
|
| |
|
|
|