Tabnine Logo
KeyStoreHelper.loadKeyStore
Code IndexAdd Tabnine to your IDE (free)

How to use
loadKeyStore
method
in
com.helger.security.keystore.KeyStoreHelper

Best Java code snippets using com.helger.security.keystore.KeyStoreHelper.loadKeyStore (Showing top 10 results out of 315)

origin: com.helger/ph-asic

final LoadedKeyStore aLKS = KeyStoreHelper.loadKeyStore (aKeyStoreType, sKeyStorePath, sKeyStorePassword);
if (aLKS.isFailure ())
 throw new IllegalStateException (aLKS.getErrorText (TextHelper.EN));
origin: com.helger/peppol-directory-client

final LoadedKeyStore aLoadedKeyStore = KeyStoreHelper.loadKeyStore (PDClientConfiguration.getKeyStoreType (),
                                  PDClientConfiguration.getKeyStorePath (),
                                  PDClientConfiguration.getKeyStorePassword ());
 final LoadedKeyStore aLoadedTrustStore = KeyStoreHelper.loadKeyStore (PDClientConfiguration.getTrustStoreType (),
                                    PDClientConfiguration.getTrustStorePath (),
                                    PDClientConfiguration.getTrustStorePassword ());
origin: com.helger/peppol-smp-server-library

private void _loadCertificates ()
{
 // Reset every time
 _setCertValid (false);
 _loadError (null, null);
 m_aTrustStore = null;
 // Load the trust store
 final LoadedKeyStore aTrustStoreLoading = KeyStoreHelper.loadKeyStore (SMPServerConfiguration.getTrustStoreType (),
                                     SMPServerConfiguration.getTrustStorePath (),
                                     SMPServerConfiguration.getTrustStorePassword ());
 if (aTrustStoreLoading.isFailure ())
 {
  _loadError (aTrustStoreLoading.getError (), PeppolKeyStoreHelper.getLoadError (aTrustStoreLoading));
  throw new InitializationException (s_sInitError);
 }
 m_aTrustStore = aTrustStoreLoading.getKeyStore ();
 LOGGER.info ("SMPTrustManager successfully initialized with truststore '" +
        SMPServerConfiguration.getTrustStorePath () +
        "'");
 _setCertValid (true);
}
origin: phax/peppol-smp-server

private void _loadCertificates ()
{
 // Reset every time
 _setCertValid (false);
 _loadError (null, null);
 m_aTrustStore = null;
 // Load the trust store
 final LoadedKeyStore aTrustStoreLoading = KeyStoreHelper.loadKeyStore (SMPServerConfiguration.getTrustStoreType (),
                                     SMPServerConfiguration.getTrustStorePath (),
                                     SMPServerConfiguration.getTrustStorePassword ());
 if (aTrustStoreLoading.isFailure ())
 {
  _loadError (aTrustStoreLoading.getError (), PeppolKeyStoreHelper.getLoadError (aTrustStoreLoading));
  throw new InitializationException (s_sInitError);
 }
 m_aTrustStore = aTrustStoreLoading.getKeyStore ();
 LOGGER.info ("SMPTrustManager successfully initialized with truststore '" +
        SMPServerConfiguration.getTrustStorePath () +
        "'");
 _setCertValid (true);
}
origin: com.helger/peppol-smp-server-library

final LoadedKeyStore aLoadedKeyStore = KeyStoreHelper.loadKeyStore (SMPServerConfiguration.getKeyStoreType (),
                                  SMPServerConfiguration.getKeyStorePath (),
                                  SMPServerConfiguration.getKeyStorePassword ());
origin: phax/peppol-smp-server

final LoadedKeyStore aLoadedKeyStore = KeyStoreHelper.loadKeyStore (SMPServerConfiguration.getKeyStoreType (),
                                  SMPServerConfiguration.getKeyStorePath (),
                                  SMPServerConfiguration.getKeyStorePassword ());
origin: phax/peppol-smp-server

final String sKeyStorePath = PDClientConfiguration.getKeyStorePath ();
final LoadedKeyStore aKeyStoreLR = KeyStoreHelper.loadKeyStore (eKeyStoreType,
                                sKeyStorePath,
                                PDClientConfiguration.getKeyStorePassword ());
origin: com.helger/peppol-smp-server-webapp

final String sKeyStorePath = PDClientConfiguration.getKeyStorePath ();
final LoadedKeyStore aKeyStoreLR = KeyStoreHelper.loadKeyStore (eKeyStoreType,
                                sKeyStorePath,
                                PDClientConfiguration.getKeyStorePassword ());
origin: com.helger/peppol-smp-server-webapp

        new HCDiv ().addChild ("A connection to the " + sDirectoryName + " server cannot be establised!"));
final LoadedKeyStore aLoadedKeyStore = KeyStoreHelper.loadKeyStore (PDClientConfiguration.getKeyStoreType (),
                                  PDClientConfiguration.getKeyStorePath (),
                                  PDClientConfiguration.getKeyStorePassword ());
origin: phax/peppol-smp-server

        new HCDiv ().addChild ("A connection to the " + sDirectoryName + " server cannot be establised!"));
final LoadedKeyStore aLoadedKeyStore = KeyStoreHelper.loadKeyStore (PDClientConfiguration.getKeyStoreType (),
                                  PDClientConfiguration.getKeyStorePath (),
                                  PDClientConfiguration.getKeyStorePassword ());
com.helger.security.keystoreKeyStoreHelperloadKeyStore

Javadoc

Load the provided key store in a safe manner.

Popular methods of KeyStoreHelper

  • loadKeyStoreDirect
    Load a key store from a resource.
  • loadPrivateKey
    Load the specified private key entry from the provided key store.
  • getResourceProvider
  • _loadKey
  • getSimiliarKeyStore

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JTextField (javax.swing)
  • Join (org.hibernate.mapping)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now