diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFCryptoProvider.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/qpdf/QPDFCryptoProvider.hh b/include/qpdf/QPDFCryptoProvider.hh index 4243fcfd..eb5dcf34 100644 --- a/include/qpdf/QPDFCryptoProvider.hh +++ b/include/qpdf/QPDFCryptoProvider.hh @@ -26,6 +26,7 @@ #include <qpdf/QPDFCryptoImpl.hh> #include <string> #include <map> +#include <set> #include <memory> #include <functional> @@ -64,6 +65,14 @@ class QPDFCryptoProvider QPDF_DLL static void setDefaultProvider(std::string const& name); + // Get the names of registered implementations + QPDF_DLL + static std::set<std::string> getRegisteredImpls(); + + // Get the name of the default crypto provider + QPDF_DLL + static std::string getDefaultProvider(); + private: QPDFCryptoProvider(); ~QPDFCryptoProvider() = default; |