Skip to content

Commit

Permalink
Added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Sep 26, 2024
1 parent 259a9b2 commit a657a84
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.helger.commons.annotation.ReturnsMutableObject;
import com.helger.commons.io.resource.ClassPathResource;
import com.helger.commons.string.StringHelper;
import com.helger.phase4.v3.ChangePhase4V3;
import com.helger.security.keystore.KeyStoreHelper;

/**
Expand All @@ -39,6 +40,7 @@
* @since 0.11.0
*/
@Immutable
@ChangePhase4V3 ("Add a version that takes it from configuration instead")
public class AS4CryptoFactoryProperties extends AbstractAS4CryptoFactory
{
private static final AS4CryptoFactoryProperties DEFAULT_INSTANCE = new AS4CryptoFactoryProperties (AS4CryptoProperties.createFromConfig ());
Expand Down Expand Up @@ -133,7 +135,8 @@ public final KeyStore getKeyStore ()
{
ret = m_aKeyStore = KeyStoreHelper.loadKeyStore (m_aCryptoProps.getKeyStoreType (),
m_aCryptoProps.getKeyStorePath (),
m_aCryptoProps.getKeyStorePassword ()).getKeyStore ();
m_aCryptoProps.getKeyStorePassword ())
.getKeyStore ();
}
return ret;
}
Expand Down Expand Up @@ -165,7 +168,8 @@ public final KeyStore getTrustStore ()
// Load only once and cache then
ret = m_aTrustStore = KeyStoreHelper.loadKeyStore (m_aCryptoProps.getTrustStoreType (),
m_aCryptoProps.getTrustStorePath (),
m_aCryptoProps.getTrustStorePassword ()).getKeyStore ();
m_aCryptoProps.getTrustStorePassword ())
.getKeyStore ();
}
return ret;
}
Expand Down

0 comments on commit a657a84

Please sign in to comment.