Package net.shibboleth.tool.xmlsectool
Class InitializationSupport
- java.lang.Object
-
- net.shibboleth.tool.xmlsectool.InitializationSupport
-
public final class InitializationSupport extends Object
Support class to assist in initializing the environment in which the command-line application runs.
-
-
Field Summary
Fields Modifier and Type Field Description private static booleaninitializedRemember whether we have already been initialized.
-
Constructor Summary
Constructors Modifier Constructor Description privateInitializationSupport()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static voidaddBouncyCastleProvider()Add an instance of the Bouncy Castle provider to the end of the provider list.private static booleanhaveECCProvider()Do we have an ECC provider available?static voidinitialize()Initialize the environment.
-
-
-
Method Detail
-
haveECCProvider
private static boolean haveECCProvider()
Do we have an ECC provider available?- Returns:
trueif and only if we have an ECC provider available
-
addBouncyCastleProvider
private static void addBouncyCastleProvider()
Add an instance of the Bouncy Castle provider to the end of the provider list.
-
initialize
public static void initialize() throws InitializationExceptionInitialize the environment.- Throws:
InitializationException- if the OpenSAML environment cannot be initialized
-
-