libdigidocpp 4.1.0
|
Configuration class which can reimplemented and virtual methods overloaded. More...
#include <Conf.h>
Inherited by digidoc::ConfV2, and digidoc::XmlConf.
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::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
Referenced by signatureDigestUri().
|
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::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Returns log level. 0 = Error 1 = Warn 2 = Info 3 = Debug
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Return OCSP request URL
issuer | OCSP issuer. |
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
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::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
Referenced by digidoc::PKCS11Signer::PKCS11Signer().
|
virtual |
Gets PKCS12 certificate file location.
Used for signing OCSP request
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets PKCS12 usage.
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets PKCS12 password.
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Redirect SSL traffic over proxy server Default: false
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets proxy host address.
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets proxy login password.
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets proxy port number.
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Tunnel SSL traffic over proxy server Default: false
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets proxy user name.
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets signature digest URI
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
References digestUri().
|
virtual |
Allow expired TSL lists
|
virtual |
Download new TSL list when it is expired or invalid
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
TSL cache path in local file system
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
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::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets TSL downloading connection's current timeout value
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
TSL master list's (LOTL) URL
|
virtual |
Returns default time-stamp server URL
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets verify service URI
Reimplemented in digidoc::XmlConf, digidoc::XmlConfV2, digidoc::XmlConfV3, digidoc::XmlConfV4, and digidoc::XmlConfV5.
|
virtual |
Gets XSD schema files path