commit | 10942f23a051f9089baa013e2201f41b4d17a6ea | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Tue Jan 10 12:43:08 2023 +0000 |
committer | Pete Bentley <prb@google.com> | Tue Jan 10 12:43:08 2023 +0000 |
tree | c03d3e6877f195b33c8f03634cbf19b591c10d43 | |
parent | 95b3809836810a0b491baf15c4d966dda2932322 [diff] |
Don't throw exceptions from BCPrivate provider. I originally thought this was fine, but it could cause confusion for developers encountering a PKCS#12 file using an unknown algorithm. Instead, throw the original NoSuchAlgorithmException from the BC Provider. Bug: 230750823 Test: atest CtsLibcoreTestCases:tests.targets.security.KeyStorePkcs7FormatTest Change-Id: I8a6d44d0e59bf0fb029ced4b8aa47908194bc161