History log of /libcore/luni/src/test/java/libcore/sun/security/jca/ProvidersTest.java
Revision Date Author Comments
491d88834d8af35b9701f92d972212d873dbb6a0 10-Oct-2017 Adam Vartanian <flooey@google.com> Deprecate BC implementations of duplicated algorithms

The first step in deprecating the BC implementations of algorithms that
are also provided by Conscrypt. This checks whether the app's target
API level is greater than a given threshold (currently O, but subject
to change later) and disallows access to those algorithms when true.
This limit only applies to requests from the system-created BC provider.
Apps can install their own provider, in which case they get the
implementations they requested.

This doesn't yet implement the deprecation for Cipher instances, since
the transformation scheme makes that more complicated.

The ultimate removal of these algorithms, once a sufficient deprecation
period has elapsed, is tracked in b/67761667.

Bug: 67626877
Test: cts -m CtsLibcoreTestCases
Test: cts -m CtsLibcoreOkHttpTestCases
Test: cts -m CtsLibcoreWycheproofBCTestCases
Test: cts -m CtsLibcoreWycheproofConscryptTestCases
Change-Id: I48f07226e66873a65859121af32028c1547952ac