This commit is contained in:
Günter Obiltschnig
2020-01-10 11:34:35 +01:00
parent a2f8f8fbe1
commit 821d80b76e
5 changed files with 19 additions and 17 deletions

View File

@@ -32,8 +32,8 @@ class NetSSL_API PrivateKeyFactoryMgr
/// A PrivateKeyFactoryMgr manages all existing PrivateKeyFactories.
{
public:
typedef std::map<std::string, Poco::SharedPtr<PrivateKeyFactory> > FactoriesMap;
using FactoriesMap = std::map<std::string, Poco::SharedPtr<PrivateKeyFactory>>;
PrivateKeyFactoryMgr();
/// Creates the PrivateKeyFactoryMgr.
@@ -46,12 +46,12 @@ public:
bool hasFactory(const std::string& name) const;
/// Returns true if for the given name a factory is already registered
const PrivateKeyFactory* getFactory(const std::string& name) const;
/// Returns NULL if for the given name a factory does not exist, otherwise the factory is returned
void removeFactory(const std::string& name);
/// Removes the factory from the manager.
/// Removes the factory from the manager.
private:
FactoriesMap _factories;