libdigidocpp
3.13.8
|
Classes | |
class | Conf |
Configuration class which can reimplemented and virtual methods overloaded. More... | |
class | ConfV2 |
Verison 2 of configuration class to add additonial parameters. More... | |
class | ConfV3 |
Verison 3 of configuration class to add additonial parameters. More... | |
class | Container |
Offers functionality for handling data files and signatures in a container. More... | |
class | DataFile |
Data file wrapper providing methods for handling signed files or files to be signed in Container . More... | |
class | DataFilePrivate |
class | Exception |
Base exception class of the digidoc implementation. More... | |
class | PKCS11Signer |
Implements Signer interface for ID-Cards, which support PKCS#11 protocol. More... | |
class | PKCS12Signer |
Implements Signer interface for PKCS#12 files. More... | |
class | Signature |
Signature interface. Provides interface for handling a signature and the corresponding OCSP response properties. More... | |
class | Signer |
Signer interface. Provides interface for signing documents. More... | |
class | WinSigner |
class | X509Cert |
Wrapper for OpenSSL X509 certificate structure. More... | |
class | XmlConf |
XML Configuration class. More... | |
class | XmlConfV2 |
Version 2 of XML Configuration class. More... | |
class | XmlConfV3 |
Typedefs | |
using | ConfCurrent = ConfV3 |
typedef void(* | initCallBack )(const Exception *e) |
using | XmlConfCurrent = XmlConfV3 |
Functions | |
EXP_DIGIDOC std::string | appInfo () |
EXP_DIGIDOC void | initialize (const std::string &appInfo="libdigidocpp", initCallBack callBack=nullptr) |
EXP_DIGIDOC void | terminate () |
EXP_DIGIDOC std::string | version () |
using digidoc::ConfCurrent = typedef ConfV3 |
typedef void(* digidoc::initCallBack)(const Exception *e) |
using digidoc::XmlConfCurrent = typedef XmlConfV3 |
string digidoc::appInfo | ( | ) |
Returns registered application name
Referenced by initialize().
void digidoc::initialize | ( | const std::string & | appInfo = "libdigidocpp" , |
initCallBack | callBack = nullptr |
||
) |
Libdigidocpp’s initialization method: initializes dependent libraries, loads configuration settings from default configuration files (see Configuring Libdigidocpp) and initializes certificate store using TSL lists
appInfo | Application name for user agent string |
callBack | Callback when background thread TSL loading is completed |
References appInfo(), digidoc::Conf::init(), and digidoc::Conf::instance().
void digidoc::terminate | ( | ) |
The termination method closes libraries used in Libdigidocpp implementation and deletes temporary files that may have been written to disk when working with the library.
References digidoc::Conf::init().
string digidoc::version | ( | ) |
Returns libdigidocpp library version