|
libdigidocpp 4.3.0
|
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 | ConfV4 |
| Verison 4 of configuration class to add additonial parameters. More... | |
| class | ConfV5 |
| Verison 5 of configuration class to add additonial parameters. More... | |
| class | Container |
| Offers functionality for handling data files and signatures in a container. More... | |
| struct | ContainerOpenCB |
| Used on container open to provide additional info. 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... | |
| struct | TSAInfo |
| class | WinSigner |
Implements Signer interface for Windows Crypto backends. More... | |
| 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 |
| Version 3 of XML Configuration class. More... | |
| class | XmlConfV4 |
| Version 4 of XML Configuration class. More... | |
| class | XmlConfV5 |
| Version 5 of XML Configuration class. More... | |
Typedefs | |
| using | ConfCurrent = ConfV5 |
| using | initCallBack = void(*)(const Exception *e) |
| using | XmlConfCurrent = XmlConfV5 |
Functions | |
| int | initXmlSecCallback () |
| DIGIDOCPP_EXPORT std::string | appInfo () |
| DIGIDOCPP_EXPORT void | initialize (const std::string &appInfo="libdigidocpp", initCallBack callBack=nullptr) |
| DIGIDOCPP_EXPORT void | initialize (const std::string &appInfo, const std::string &userAgent, initCallBack callBack=nullptr) |
| DIGIDOCPP_EXPORT void | terminate () |
| DIGIDOCPP_EXPORT std::string | userAgent () |
| DIGIDOCPP_EXPORT std::string | version () |
Reference to latest ConfV5 class.
| e | digidoc::Exception that occured on initialization |
Used in digidoc::initialize to notfiy if the initalization has completed
Reference to latest XmlConfV5 class
| string digidoc::appInfo | ( | ) |
Returns registered application name
Referenced by initialize(), and initialize().
| void digidoc::initialize | ( | const std::string & | appInfo, |
| const std::string & | userAgent, | ||
| 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 container comments |
| userAgent | Application info for user agent string |
| callBack | Callback when background thread TSL loading is completed |
References appInfo(), digidoc::Conf::init(), initXmlSecCallback(), digidoc::Conf::instance(), and userAgent().
| 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 and container comments |
| callBack | Callback when background thread TSL loading is completed |
References appInfo(), and initialize().
Referenced by initialize().
| int digidoc::initXmlSecCallback | ( | ) |
Referenced by initialize().
| 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::userAgent | ( | ) |
Returns user-agent info
Referenced by initialize(), and digidoc::Signer::sign().
| string digidoc::version | ( | ) |
Returns libdigidocpp library version