libdigidocpp 4.1.0
digidoc::ConfV5 Class Reference

Verison 5 of configuration class to add additonial parameters. More...

#include <Conf.h>

Inherits digidoc::ConfV4.

Inherited by digidoc::XmlConfV5.

Public Member Functions

 ConfV5 ()
 
 ~ConfV5 () override
 
virtual std::vector< X509CertTSCerts () const
 
- Public Member Functions inherited from digidoc::ConfV4
 ConfV4 ()
 
 ~ConfV4 () override
 
virtual std::vector< X509CertverifyServiceCerts () const
 
- Public Member Functions inherited from digidoc::ConfV3
 ConfV3 ()
 
 ~ConfV3 () override
 
virtual std::set< std::string > OCSPTMProfiles () const
 
- Public Member Functions inherited from digidoc::ConfV2
 ConfV2 ()
 
 ~ConfV2 () override
 
virtual X509Cert verifyServiceCert () const
 
- Public Member Functions inherited from digidoc::Conf
 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< X509CertTSLCerts () const
 
virtual bool TSLOnlineDigest () const
 
virtual int TSLTimeOut () const
 
virtual std::string TSLUrl () const
 

Static Public Member Functions

static ConfV5instance ()
 
- Static Public Member Functions inherited from digidoc::ConfV4
static ConfV4instance ()
 
- Static Public Member Functions inherited from digidoc::ConfV3
static ConfV3instance ()
 
- Static Public Member Functions inherited from digidoc::ConfV2
static ConfV2instance ()
 
- Static Public Member Functions inherited from digidoc::Conf
static void init (Conf *conf)
 
static Confinstance ()
 

Detailed Description

Verison 5 of configuration class to add additonial parameters.

Conf contains virtual members and is not leaf class we need create subclasses to keep binary compatibility https://techbase.kde.org/Policies/Binary_Compatibility_Issues_With_C++#Adding_new_virtual_functions_to_leaf_classes

See also
digidoc::ConfV4
Configuration parameters

Constructor & Destructor Documentation

◆ ConfV5()

ConfV5::ConfV5 ( )
default

Version 5 config with new parameters

◆ ~ConfV5()

ConfV5::~ConfV5 ( )
overridedefault

Member Function Documentation

◆ instance()

ConfV5 * ConfV5::instance ( )
static

Return global config instance object

References digidoc::Conf::instance().

◆ TSCerts()

vector< X509Cert > ConfV5::TSCerts ( ) const
virtual

Gets verify service Certs

Reimplemented in digidoc::XmlConfV5.

Referenced by digidoc::XmlConfV5::TSCerts().


The documentation for this class was generated from the following files: