History log of /libcore/ojluni/src/main/java/sun/security/util/AlgorithmDecomposer.java
Revision Date Author Comments
8b5ba217ca0e811a8e8602666b10f3b3e0bcc62c 24-Mar-2017 Przemyslaw Szczepaniak <pszczepaniak@google.com> Allow non default root CAs to be not subject to algorithm restrictions

Should be a no-op on android, we don't support algorithm restrictions

changeset: 12112:4c48191b287f
user: robm
date: Thu Sep 15 22:35:53 2016 +0100
summary: 8140422: Add mechanism to allow non default root CAs to be not subject to algorithm restrictions

Test: CtsLibcoreTestCases
Bug: 31028374
Change-Id: I3bc3ea7955f3d4fcd6b924b247ea303ed87eb4c7
Merged-In: I3bc3ea7955f3d4fcd6b924b247ea303ed87eb4c7
Merged-In: I7e9a355d2e797975a6ba18eb696ca2b343b38f00
Merged-In: I132ad0f18704631f875a296a2374ca5598db62a3
(cherry picked from commit 874c25b3bc5831e286885d08a60cf0f4c75d36dc)
874c25b3bc5831e286885d08a60cf0f4c75d36dc 24-Mar-2017 Przemyslaw Szczepaniak <pszczepaniak@google.com> Allow non default root CAs to be not subject to algorithm restrictions

Should be a no-op on android, we don't support algorithm restrictions

changeset: 12112:4c48191b287f
user: robm
date: Thu Sep 15 22:35:53 2016 +0100
summary: 8140422: Add mechanism to allow non default root CAs to be not subject to algorithm restrictions

Test: CtsLibcoreTestCases
Bug: 31028374
Change-Id: I3bc3ea7955f3d4fcd6b924b247ea303ed87eb4c7
fb4c7d4fd77a0e37a3414b7199e0020c19acc5e5 03-Nov-2016 Sergio Giro <sgiro@google.com> sun.security.util: refactoring in DisabledAlgorithmConstraints

Port from jdk8u60: the class DisabledAlgorithmConstraints has been
refactored by doing the following changes:
- the class now extends from the abstract class AbstractAlgorithmConstraints
- the method decompose has been moved to the class AlgorithmDecomposer
- the logic for checking an algorithm in the method permits has been moved to
checkAlgorithm in AbstractAlgorithmConstraints
- the method loadDisabledAlgorithmsMap was replaced by loadAlgorithmsMap
in AbstractAlgorithmConstraints, except for populating the field
keySizeConstraints, which now happens in getKeySizeConstraints.

The possible cause of this refactoring was to avoid repeating code
with respect to a newly introduced class LegacyAlgorithmConstraints,
which is not used in Android and was not ported.

This code is exercised by tests.security.cert.X509CertSelectorTest

Bug: 29631070
Test: run cts -m CtsLibcoreTestCases
Change-Id: Icb8413bdce86dd25f61560622e9ff51159fe8368