Avoid calling JDK 1.8 method
@@ -172,7 +172,7 @@ static void checkChain(JcaJceHelper helper, BCAlgorithmConstraints algorithmCons
for (int i = taPos - 1; i >= 0; --i)
{
- algorithmChecker.check(chain[i]);
+ algorithmChecker.check(chain[i], Collections.<String> emptySet());
}
X509Certificate eeCert = chain[0];
