History log of /libcore/ojluni/src/main/java/sun/security/util/AbstractAlgorithmConstraints.java
Revision Date Author Comments
119964b3228ac27eca8034e5fbabdb793f6eae9c 11-Apr-2017 Przemyslaw Szczepaniak <pszczepaniak@google.com> Port "Tighten jar checks" change from openJdk8u121-b13

changeset: 11972:67252a0030a1
parent: 11969:3278c61ec8b8
user: igerasim
date: Fri Jul 29 00:00:36 2016 +0300
summary: 8155973: Tighten jar checks

Test: CtsLibcoreTestCases
Bug: 36461944
Change-Id: If154ba75669196fc2cfecca5280498e5015212d9
(cherry picked from commit 51e2670b94fbd372f45b7fdd4fec4505af3fd56c)
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)
fa7a7cf06f53684d9516d6f38c70c30de729fed4 10-Apr-2017 Przemyslaw Szczepaniak <pszczepaniak@google.com> Port of s.s.u.AbstractAlgorithmConstraints changes from openJdk8u121-b13

changeset: 11150:b80347e1364f
user: xuelei
date: Thu Jul 23 09:51:31 2015 +0100
summary: 8081760: Better group dynamics

Test: CtsLibcoreTestCases
Bug: 36461944
Change-Id: Ic8396095918b2ddbf7252cc6689acfb4df92b0ab
(cherry picked from commit 44fa52b5119d3cd8c7e2fb934365d7e798b468b3)
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