From f39a0a004bbe6b6b126218993767b897efa06745 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 18 Jun 2020 14:38:31 +0200 Subject: refactor MOASigInitializer to load IAIK ECCelerate fist --- .../modules/sigverify/moasig/impl/MoaSigInitializer.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'eaaf_modules/eaaf_module_moa-sig/src') diff --git a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java index 77bbc88b..9b7f29b8 100644 --- a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java +++ b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java @@ -58,13 +58,13 @@ public class MoaSigInitializer { Configurator.getInstance().init(); log.info("MOA-Sig library initialization complete "); - Security.insertProviderAt(IAIK.getInstance(), 0); + //Security.insertProviderAt(IAIK.getInstance(), 0); - final ECCelerate eccProvider = ECCelerate.getInstance(); - if (Security.getProvider(eccProvider.getName()) != null) { - Security.removeProvider(eccProvider.getName()); - } - Security.addProvider(new ECCelerate()); + //final ECCelerate eccProvider = ECCelerate.getInstance(); + //if (Security.getProvider(eccProvider.getName()) != null) { + // Security.removeProvider(eccProvider.getName()); + //} + //Security.addProvider(new ECCelerate()); fixJava8_141ProblemWithSslAlgorithms(); -- cgit v1.2.3