libdigidocpp
4.0.0
|
Configuration class which can reimplemented and virtual methods overloaded. More...
#include <Conf.h>
Public Member Functions | |
Conf () | |
virtual | ~Conf () |
virtual int | logLevel () const |
virtual std::string | logFile () const |
virtual DIGIDOCPP_DEPRECATED std::string | libdigidocConf () const |
virtual DIGIDOCPP_DEPRECATED std::string | certsPath () const |
virtual std::string | xsdPath () const |
virtual std::string | PKCS11Driver () const |
virtual std::string | proxyHost () const |
virtual std::string | proxyPort () const |
virtual std::string | proxyUser () const |
virtual std::string | proxyPass () const |
virtual bool | proxyForceSSL () const |
virtual bool | proxyTunnelSSL () const |
virtual std::string | digestUri () const |
virtual std::string | signatureDigestUri () const |
virtual std::string | ocsp (const std::string &issuer) const |
virtual std::string | TSUrl () const |
virtual std::string | verifyServiceUri () const |
virtual DIGIDOCPP_DEPRECATED std::string | PKCS12Cert () const |
virtual DIGIDOCPP_DEPRECATED std::string | PKCS12Pass () const |
virtual DIGIDOCPP_DEPRECATED bool | PKCS12Disable () const |
virtual bool | TSLAllowExpired () const |
virtual bool | TSLAutoUpdate () const |
virtual std::string | TSLCache () const |
virtual std::vector< X509Cert > | TSLCerts () const |
virtual bool | TSLOnlineDigest () const |
virtual int | TSLTimeOut () const |
virtual std::string | TSLUrl () const |
Static Public Member Functions | |
static void | init (Conf *conf) |
static Conf * | instance () |
Configuration class which can reimplemented and virtual methods overloaded.
|
default |
Configuration parameters
|
virtualdefault |
|
virtual |
Gets Certificate store location.
|
virtual |
Return default digest type as URI
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
static |
Init global Conf with conf
Referenced by digidoc::initialize(), and digidoc::terminate().
|
static |
Return global config instance object
Referenced by digidoc::initialize(), digidoc::ConfV2::instance(), digidoc::ConfV3::instance(), digidoc::ConfV4::instance(), digidoc::ConfV5::instance(), digidoc::XmlConf::instance(), digidoc::XmlConfV2::instance(), digidoc::XmlConfV3::instance(), digidoc::XmlConfV4::instance(), digidoc::XmlConfV5::instance(), and digidoc::PKCS11Signer::PKCS11Signer().
|
virtual |
Returns libdigidoc library configuration file's (digidoc.ini) file location
|
virtual |
Gets log file location. Default log goes to standard out stream
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Returns log level. 0 = Error 1 = Warn 2 = Info 3 = Debug
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Return OCSP request URL
issuer | OCSP issuer. |
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
Referenced by digidoc::XmlConf::ocsp(), digidoc::XmlConfV2::ocsp(), digidoc::XmlConfV3::ocsp(), digidoc::XmlConfV4::ocsp(), and digidoc::XmlConfV5::ocsp().
|
virtual |
Returns PKCS11 driver file path
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
Referenced by digidoc::PKCS11Signer::PKCS11Signer().
|
virtual |
Gets PKCS12 certificate file location.
Used for signing OCSP request
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets PKCS12 usage.
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets PKCS12 password.
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Redirect SSL traffic over proxy server Default: false
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets proxy host address.
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets proxy login password.
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets proxy port number.
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Tunnel SSL traffic over proxy server Default: false
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets proxy user name.
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets signature digest URI
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Allow expired TSL lists
|
virtual |
Download new TSL list when it is expired or invalid
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
TSL cache path in local file system
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
TSL master list's (LOTL) signing certificates
|
virtual |
Compare local TSL digest with digest published online to check for newer version
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets TSL downloading connection's current timeout value
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
TSL master list's (LOTL) URL
|
virtual |
Returns default time-stamp server URL
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets verify service URI
Reimplemented in digidoc::XmlConfV5, digidoc::XmlConfV4, digidoc::XmlConfV3, digidoc::XmlConfV2, and digidoc::XmlConf.
|
virtual |
Gets XSD schema files path