Package be.fgov.ehealth.technicalconnector.bootstrap.utils

# Class BootStrapUtils

java.lang.Object
be.fgov.ehealth.technicalconnector.bootstrap.utils.BootStrapUtils

public final class BootStrapUtils extends Object
Utility class for the bootstrap module

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `EXT_SHA2`
  `static final String`
  `EXT_XML`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `exists(X509Certificate inCert, KeyStore store)`
  `static X509Certificate`
  `generateX509Cert(String input)`
  `static void`
  `merge(String inputLocation, char[] inputPwd, String targetLocation, char[] targetPwd)`
  `static void`
  `writeKeyStore(List<X509Certificate> certList, String location, char[] pwd)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### EXT_SHA2

    public static final String EXT_SHA2
    See Also:
      - Constant Field Values

  - ### EXT_XML

    public static final String EXT_XML
    See Also:
      - Constant Field Values

- ## Method Details

  - ### generateX509Cert

    public static X509Certificate generateX509Cert(String input) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### writeKeyStore

    public static void writeKeyStore(List<X509Certificate> certList, String location, char[] pwd) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### merge

    public static void merge(String inputLocation, char[] inputPwd, String targetLocation, char[] targetPwd) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### exists

    public static boolean exists(X509Certificate inCert, KeyStore store) throws KeyStoreException
    Throws:
      `KeyStoreException`