Package com.helger.phase4.crypto
Class AbstractAS4CryptoFactory
java.lang.Object
com.helger.phase4.crypto.AbstractAS4CryptoFactory
- All Implemented Interfaces:
IAS4CryptoFactory
- Direct Known Subclasses:
AS4CryptoFactoryInMemoryKeyStore,AS4CryptoFactoryProperties
Abstract implementation of
IAS4CryptoFactory.- Since:
- 2.6.0
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.helger.phase4.crypto.IAS4CryptoFactory
getCrypto, getKeyAlias, getKeyPassword, getKeyPasswordPerAlias, getKeyStore, getTrustStore
-
Constructor Details
-
AbstractAS4CryptoFactory
protected AbstractAS4CryptoFactory()
-
-
Method Details
-
getPrivateKeyEntry
- Specified by:
getPrivateKeyEntryin interfaceIAS4CryptoFactory- Returns:
- The underlying private key entry from the keystore or
nullif none is available (the reasons depend on the used implementation).
-
getCertificate
- Returns:
- The public certificate of the private key entry or
nullif the private key entry could not be loaded.
-