| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
SHA-224 has made a comeback in the latest StandardNames documentation.
This change adds tests for SHA-224 and also Conscrypt providers for
things we have code paths to support.
Change-Id: I8c200082ff76ee4ae38b6efaa16e6741b33b7f5b
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
At one point in time, BC had a bug where it couldn't work with other EC
keys. This has since been fixed, so this workaround is no longer needed.
Change-Id: I0fb3f4d207fb5093e3bd1e1256cc3e165ecae8b0
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
frameworks/base/core/tests/coretests uses the libcore/support/* classes
for SSL-based tests. Instead of including core-tests itself, we need to
split out the support classes to its own library to keep frameworks
tests below the dex method limit.
Change-Id: Ic11dbd1c6f897af10c6cfe47efb977018ef2ad9a
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html
Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: I597b2ac940f17b5b2bc176e390dc4b63fe0a4e72
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'be240e1324314cbf1d8edaee7ce561b028e1ed2e':
Remove the isLocaleAvailable hacks.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I17596301630f6c8d98c4415fe358f4fffb47b2d4
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '35e2b734149e88874883e48785f8263a8972ec61':
JarFile: finish support for authenticated attributes
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'b5ba804a3b6d00c63a59902b782c11a0af9ed205':
Fix @deprecated javadoc orthography.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I6db6d91e21b8e1aca5b5338534196fd5bdef8a06
|
|\ \ \ \ \ \ \
| |/ / / / / /
| | / / / / /
| |/ / / / /
|/| | | | | |
* commit '0897c6055311bf665365cbb8cae46aadc18d4d45':
PBKDF2 tests to exercise new, correct PBE implementation.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 8312059
Change-Id: I614a43a0022393cb16250f4991a7156b05b0860c
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 9095447
(cherry picked from commit 1eba66d802f4edfaa3ca599f196e282bc110eff9)
Change-Id: I6709eebcbede0ba617462bf49dd858f98246555f
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
BUG=https://code.google.com/p/chromium/issues/detail?id=167607 and
https://b.corp.google.com/issue?id=7920492
Change-Id: Ib917c3a4a8ea6a12f685c44056aa44aa414d45e6
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 9095447
Change-Id: Ieba76865c4da4260949391389611dfd09bc5e326
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 8657552
Change-Id: I2659f1b67bb0fc298a187938d560fd57d3ceb214
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I7ac00ef5c7efe6fc243bd2663c31ef8ad8af9445
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ie8b099eec5628e5c577cff23050431d4ed1e2be2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add tests for getSigAlgParams using RSA-PSS signatures.
Change-Id: Ib24b75a873dcc2007c6d511c6d307c92391a3f58
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I3c43882dda27b5596c6823f5f0711049803ac985
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If the subjectAltNames field is missing, providers should return null
Change-Id: If11202d97e0a5a41ca598fb7df3320d6a20474c9
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I461881d515201829eae08046574824dbda30d460
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I551d6ea887e06481a3eaefec980a728a8c4191f7
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I678a8b89d0514c270ce0ee57057cfaadf3b47543
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
Change-Id: I1af764dffabdfa63bc383b606d0c86451bdf64dd
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 7453821
Change-Id: I69408d0bb4063e34441ed1d7632fd1ccac39965b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
result based on key size
Includes cherry-pick of 847f22adbd0e829b84491d7202dcbed5bf67a98c
Bug: 7192453
Change-Id: Ib5fa1e313d942d2c1034e8e7831af285ad24d71d
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
KeyManagerFactory"
* commit 'adcea0bf53b5b932013d8290619f17715b33f139':
Prefer PKIX algorithm name for TrustManagerFactory and KeyManagerFactory
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I3da5bdf6739c6aee5ec0174e93cd6c06d6dfeeb3
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'd2f41fe210bf0fe958345f84e95e8f037c325005':
Fix ConcurrentCloseTest flakiness.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '0bf8e7a3145bbc6a32f5b88364a923af40434b61':
Add support for ECDSA signatures on jar files
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: If928f2244b3a0809255d6619c25268beb84f76d3
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '6508bcc268f74b04dfcd04b1cafb5f293ad0f690':
Add stronger digest support to JarVerifier
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds support for SHA-256, SHA-384, and SHA-512.
Bug: http://code.google.com/p/android/issues/detail?id=38321
Change-Id: I9bf3f9cb2fa53b9f980e6c1cffcba81aa289a762
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '9560ed5ed4229f17df8e09d9a40f4c8f30e68b0d':
OpenSSLCipher: add Ciphers to StandardNames
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib990dd170d4c94ceea065748aceeb3bb4a297438
|
|\ \ \ \ \
| |/ / / /
| | / / /
| |/ / /
|/| | | |
* commit '67c7510f9ca84347ec029023b3f04832f4453b9f':
Add more CipherTest tests
|
| |/ /
| | |
| | |
| | | |
Change-Id: I29f55e41335021945029e410d4e51e2c8f564285
|
| | |
| | |
| | |
| | | |
Change-Id: Ie1f2ae92638e81ccd7e4ec2459199e6eecdac75f
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Cipher.RSA/None/PKCS1Padding"
* commit 'a1359997a83e4d1aefdb7ae23f73b61420d37964':
Add OpenSSLProvider support for Cipher.RSA/None/PKCS1Padding
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| | |
Change-Id: Ic4bbcf5be005a74f5263e40f406f8c741e5d8d5e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: Ie506337882a878df77073c0c8117dfdc8d33b670
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|