/** * Initialize the xml signing environment and the bouncycastle provider */ protected static synchronized void initXmlProvider() { if (isInitialized) { return; } isInitialized = true; try { Init.init(); RelationshipTransformService.registerDsigProvider(); CryptoFunctions.registerBouncyCastle(); } catch (Exception e) { throw new RuntimeException("Xml & BouncyCastle-Provider initialization failed", e); } }
/** * Initialize the xml signing environment and the bouncycastle provider */ protected static synchronized void initXmlProvider() { if (isInitialized) { return; } isInitialized = true; try { Init.init(); RelationshipTransformService.registerDsigProvider(); CryptoFunctions.registerBouncyCastle(); } catch (Exception e) { throw new RuntimeException("Xml & BouncyCastle-Provider initialization failed", e); } }