| 1 | // | 
|---|---|
| 2 | // CertificateHandlerFactory.cpp | 
| 3 | // | 
| 4 | // Library: NetSSL_OpenSSL | 
| 5 | // Package: SSLCore | 
| 6 | // Module: CertificateHandlerFactory | 
| 7 | // | 
| 8 | // Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH. | 
| 9 | // and Contributors. | 
| 10 | // | 
| 11 | // SPDX-License-Identifier: BSL-1.0 | 
| 12 | // | 
| 13 | |
| 14 | |
| 15 | #include "Poco/Net/CertificateHandlerFactory.h" | 
| 16 | #include "Poco/Net/SSLManager.h" | 
| 17 | |
| 18 | |
| 19 | namespace Poco { | 
| 20 | namespace Net { | 
| 21 | |
| 22 | |
| 23 | CertificateHandlerFactory::CertificateHandlerFactory() | 
| 24 | { | 
| 25 | } | 
| 26 | |
| 27 | |
| 28 | CertificateHandlerFactory::~CertificateHandlerFactory() | 
| 29 | { | 
| 30 | } | 
| 31 | |
| 32 | |
| 33 | CertificateHandlerFactoryRegistrar::CertificateHandlerFactoryRegistrar(const std::string& name, CertificateHandlerFactory* pFactory) | 
| 34 | { | 
| 35 | SSLManager::instance().certificateHandlerFactoryMgr().setFactory(name, pFactory); | 
| 36 | } | 
| 37 | |
| 38 | |
| 39 | CertificateHandlerFactoryRegistrar::~CertificateHandlerFactoryRegistrar() | 
| 40 | { | 
| 41 | } | 
| 42 | |
| 43 | |
| 44 | } } // namespace Poco::Net | 
| 45 | 
