Mixe for Privacy and Anonymity in the Internet
|
#include <CACmdLnOptions.hpp>
Static Public Member Functions | |
static SINT32 | createMixOnCDConfiguration (const UINT8 *strFileName) |
Writes a default configuration file into the file named by filename. More... | |
static SINT32 | saveToFile (XERCES_CPP_NAMESPACE::DOMDocument *a_doc, const UINT8 *a_strFileName) |
Saves the given XML Document to a file. More... | |
Public Attributes | |
XERCES_CPP_NAMESPACE::DOMDocument ** | m_termsAndConditionsTemplates |
UINT32 | m_nrOfTermsAndConditionsTemplates |
Private Member Functions | |
SINT32 | setNewValues (CACmdLnOptions &newOptions) |
Copies options from newOptions . More... | |
SINT32 | clearTargetInterfaces () |
SINT32 | clearListenerInterfaces () |
SINT32 | parseInfoServices (DOMElement *a_infoServiceNode) |
** More... | |
SINT32 | clearVisibleAddresses () |
SINT32 | addVisibleAddresses (DOMNode *nodeProxy) |
** Add all the visible addresses to the list of visible addresses found in the XML description of the <Proxy> element given. More... | |
SINT32 | readXmlConfiguration (XERCES_CPP_NAMESPACE::DOMDocument *&docConfig, const UINT8 *const configFileName) |
Tries to read the XML configuration file configFile and parses (but not process) it. More... | |
SINT32 | readXmlConfiguration (XERCES_CPP_NAMESPACE::DOMDocument *&docConfig, const UINT8 *const buf, UINT32 len) |
Tries to read the XML configuration from byte array buf . More... | |
SINT32 | processXmlConfiguration (XERCES_CPP_NAMESPACE::DOMDocument *docConfig) |
SINT32 | setGeneralOptions (DOMElement *elemRoot) |
SINT32 | setMixDescription (DOMElement *elemRoot) |
SINT32 | setCertificateOptions (DOMElement *elemRoot) |
SINT32 | setNetworkOptions (DOMElement *elemRoot) |
SINT32 | setRessourceOptions (DOMElement *elemRoot) |
SINT32 | setTermsAndConditions (DOMElement *elemRoot) |
SINT32 | setMixType (DOMElement *elemGeneral) |
determines whether this mix is a first a middle or a last mix appears in <General></General> and must be set. More... | |
SINT32 | setMixName (DOMElement *elemGeneral) |
SINT32 | setMixID (DOMElement *elemGeneral) |
SINT32 | setDynamicMix (DOMElement *elemGeneral) |
determines whether this mix is a dynamic mix or not appears in <General></General> and is optional. More... | |
SINT32 | setMinCascadeLength (DOMElement *elemGeneral) |
SINT32 | setCascadeNameFromOptions (DOMElement *elemGeneral) |
SINT32 | setUserID (DOMElement *elemGeneral) |
SINT32 | setNrOfFileDescriptors (DOMElement *elemGeneral) |
SINT32 | setDaemonMode (DOMElement *elemGeneral) |
SINT32 | setLoggingOptions (DOMElement *elemGeneral) |
SINT32 | setSymChannelCipherAlgorithm (SYMCHANNELCIPHER_ALGORITHM cipherAlgorithm) |
SINT32 | setAccessControlCredential (DOMElement *elemGeneral) |
SINT32 | setPaymentReminder (DOMElement *elemGeneral) |
SINT32 | setMaxUsers (DOMElement *elemGeneral) |
SINT32 | setOwnCertificate (DOMElement *elemCertificates) |
SINT32 | setOwnOperatorCertificate (DOMElement *elemCertificates) |
SINT32 | setMixCertificateVerification (DOMElement *elemCertificates) |
SINT32 | setNextMixCertificate (DOMElement *elemCertificates) |
SINT32 | setPrevMixCertificate (DOMElement *elemCertificates) |
SINT32 | setTrustedRootCertificates (DOMElement *elemCertificates) |
SINT32 | setPriceCertificate (DOMElement *elemAccounting) |
SINT32 | setPaymentInstance (DOMElement *elemAccounting) |
SINT32 | setAccountingSoftLimit (DOMElement *elemAccounting) |
SINT32 | setAccountingHardLimit (DOMElement *elemAccounting) |
SINT32 | setPrepaidInterval (DOMElement *elemAccounting) |
SINT32 | setSettleInterval (DOMElement *elemAccounting) |
SINT32 | setAccountingDatabase (DOMElement *elemAccounting) |
void | initAccountingOptionSetters () |
SINT32 | setAccountingOptions (DOMElement *elemRoot) |
SINT32 | setInfoServices (DOMElement *elemNetwork) |
SINT32 | setListenerInterfaces (DOMElement *elemNetwork) |
SINT32 | setTargetInterfaces (DOMElement *elemNetwork) |
This method sets the proxy or next mix settings. More... | |
SINT32 | setServerMonitoring (DOMElement *elemNetwork) |
SINT32 | setKeepAliveTraffic (DOMElement *elemNetwork) |
SINT32 | setTermsAndConditionsTemplates (DOMElement *elemTnCs) |
SINT32 | setTermsAndConditionsList (DOMElement *elemTnCs) |
SINT32 | appendMixInfo_internal (DOMNode *a_node, bool with_subtree) |
SINT32 | addMixIdToMixInfo () |
Just add the id of the Mix to the MixInfo Document. More... | |
SINT32 | invokeOptionSetters (const optionSetter_pt *optionsSetters, DOMElement *target, SINT32 optionsSettersLength) |
framework-function for calling predefined option setter functions. More... | |
void | initMainOptionSetters () |
void | initGeneralOptionSetters () |
void | initMixDescriptionSetters () |
void | initCertificateOptionSetters () |
void | initNetworkOptionSetters () |
void | initTermsAndConditionsOptionSetters () |
Static Private Member Functions | |
static SINT32 | buildDefaultConfig (XERCES_CPP_NAMESPACE::DOMDocument *a_doc, bool bForLastMix) |
Creates a default mix configuration. More... | |
Friends | |
THREAD_RETURN | threadReConfigure (void *param) |
Thread that does the actual reconfigure work. More... | |
Definition at line 237 of file CACmdLnOptions.hpp.
CACmdLnOptions::CACmdLnOptions | ( | ) |
Definition at line 49 of file CACmdLnOptions.cpp.
References createDOMDocument(), DELAY_CHANNEL_LATENCY, DELAY_USERS_BUCKET_GROW, DELAY_USERS_BUCKET_GROW_INTERVALL, DELAY_USERS_TRAFFIC, initAccountingOptionSetters(), initCertificateOptionSetters(), initGeneralOptionSetters(), initMainOptionSetters(), initNetworkOptionSetters(), initTermsAndConditionsOptionSetters(), isFirstMix(), m_addrInfoServices, m_addrInfoServicesSize, m_arListenerInterfaces, m_arStrVisibleAddresses, m_arTargetInterfaces, m_bAcceptReconfiguration, m_bAutoReconnect, m_bCompressedLogs, m_bDaemon, m_bFirstMix, m_bIsEncryptedLogEnabled, m_bIsRunReConfigure, m_bLastMix, m_bLocalProxy, m_bLogConsole, m_bMiddleMix, m_bSkipProxyCheck, m_bSocksSupport, m_bSyslog, m_bVerifyMixCerts, m_bVPNSupport, m_cnListenerInterfaces, m_cnTargets, m_cnVisibleAddresses, m_dbCountryStatsHost, m_dbCountryStatsPasswd, m_dbCountryStatsUser, m_docMixInfo, m_docMixXml, m_docOpTnCs, m_iSOCKSPort, m_iSOCKSServerPort, m_iTargetPort, m_maxLogFileSize, m_maxNrOfUsers, m_nrOfOpenFiles, m_nrOfTermsAndConditionsTemplates, m_OpCert, m_PaymentReminderProbability, m_pBI, m_pCascadeXML, m_pcsReConfigure, m_pLogEncryptionCertificate, m_pMultiSignature, m_pNextMixCertificate, m_pPrevMixCertificate, m_pTrustedRootCertificates, m_strAccessControlCredential, m_strAiID, m_strCascadeName, m_strConfigFile, m_strCredential, m_strDatabaseHost, m_strDatabaseName, m_strDatabasePassword, m_strDatabaseUser, m_strEncryptedLogDir, m_strLogDir, m_strLogLevel, m_strMixID, m_strMixName, m_strPidFile, m_strSOCKSHost, m_strTargetHost, m_strUser, m_termsAndConditionsTemplates, m_u32DelayChannelBucketGrow, m_u32DelayChannelBucketGrowIntervall, m_u32DelayChannelUnlimitTraffic, and setZero64().
CACmdLnOptions::~CACmdLnOptions | ( | ) |
Definition at line 207 of file CACmdLnOptions.cpp.
References cleanup().
|
inline |
Definition at line 387 of file CACmdLnOptions.hpp.
References m_bAcceptReconfiguration.
Referenced by CAMix::CAMix(), and CAMix::start().
|
inlineprivate |
Just add the id of the Mix to the MixInfo Document.
Definition at line 4850 of file CACmdLnOptions.cpp.
References E_UNKNOWN, m_docMixInfo, m_strMixID, MIXINFO_ATTRIBUTE_MIX_ID, CAMsg::printMsg(), and setDOMElementAttribute().
Referenced by setMixID(), and setOwnCertificate().
|
private |
** Add all the visible addresses to the list of visible addresses found in the XML description of the <Proxy> element given.
Definition at line 4041 of file CACmdLnOptions.cpp.
References ASSERT_PARENT_NODE_NAME, E_SUCCESS, E_UNKNOWN, equals(), getDOMChildByName(), getDOMElementValue(), len, m_arStrVisibleAddresses, m_cnVisibleAddresses, OPTIONS_NODE_HOST, OPTIONS_NODE_PROXY, OPTIONS_NODE_VISIBLE_ADDRESS, OPTIONS_NODE_VISIBLE_ADDRESS_LIST, and TMP_BUFF_SIZE.
Referenced by setTargetInterfaces().
|
private |
Here we remove any given e-mail address to reduce the spam problem.
Definition at line 4802 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, getElementsByTagName(), m_docMixInfo, and CAMsg::printMsg().
Referenced by setListenerInterfaces(), setMinCascadeLength(), setMixDescription(), setMixType(), setPriceCertificate(), and setServerMonitoring().
|
staticprivate |
Creates a default mix configuration.
E_SUCCESS |
MixID must be the SubjectKeyIdentifier of the mix' certificate
We add this for compatability reasons. ListenerInterfaces can be determined dynamically now
Definition at line 2701 of file CACmdLnOptions.cpp.
References createDOMElement(), DEFAULT_INFOSERVICE, E_SUCCESS, CACertificate::encode(), CASignature::generateSignKey(), CASignature::getSignKey(), CACertificate::getSubjectKeyIdentifier(), CASignature::getVerifyKey(), len, setDOMElementAttribute(), and setDOMElementValue().
Referenced by createMixOnCDConfiguration().
void CACmdLnOptions::clean | ( | ) |
Deletes all resssource allocated by objects of this class EXPECT the locks necessary to controll access to the properties of this class.
Definition at line 299 of file CACmdLnOptions.cpp.
References accountingOptionSetters, certificateOptionSetters, clearListenerInterfaces(), clearTargetInterfaces(), clearVisibleAddresses(), generalOptionSetters, m_addrInfoServices, m_addrInfoServicesSize, m_arpTermsAndConditionsOptionSetters, m_dbCountryStatsHost, m_dbCountryStatsPasswd, m_dbCountryStatsUser, m_docMixInfo, m_docMixXml, m_docOpTnCs, m_OpCert, m_pLogEncryptionCertificate, m_pMultiSignature, m_pNextMixCertificate, m_pPrevMixCertificate, m_strAccessControlCredential, m_strCascadeName, m_strConfigFile, m_strCredential, m_strEncryptedLogDir, m_strLogDir, m_strLogLevel, m_strMixID, m_strMixName, m_strPidFile, m_strSOCKSHost, m_strTargetHost, m_strUser, mainOptionSetters, and networkOptionSetters.
Referenced by cleanup().
SINT32 CACmdLnOptions::cleanup | ( | ) |
Definition at line 247 of file CACmdLnOptions.cpp.
References clean(), E_SUCCESS, and m_pcsReConfigure.
Referenced by ~CACmdLnOptions().
|
private |
Definition at line 277 of file CACmdLnOptions.cpp.
References E_SUCCESS, m_arListenerInterfaces, and m_cnListenerInterfaces.
Referenced by clean().
|
private |
Definition at line 259 of file CACmdLnOptions.cpp.
References CATargetInterface::cleanAddr(), E_SUCCESS, m_arTargetInterfaces, and m_cnTargets.
Referenced by clean(), and setNewValues().
|
private |
Definition at line 4011 of file CACmdLnOptions.cpp.
References E_SUCCESS, m_arStrVisibleAddresses, and m_cnVisibleAddresses.
Referenced by clean(), and setTargetInterfaces().
Writes a default configuration file into the file named by filename.
Builds a default Configuration.
strFileName | filename of the file in which the default configuration is stored, if NULL stdout is used |
Definition at line 2684 of file CACmdLnOptions.cpp.
References buildDefaultConfig(), createDOMDocument(), E_SUCCESS, and saveToFile().
Referenced by parse().
SINT32 CACmdLnOptions::createSockets | ( | bool | a_bPrintMessages, |
CASocket ** | a_sockets, | ||
UINT32 | a_socketsLen | ||
) |
Definition at line 5133 of file CACmdLnOptions.cpp.
References CASocket::create(), E_SPACE, E_SUCCESS, E_UNKNOWN, GET_NET_ERROR, GET_NET_ERROR_STR, CAListenerInterface::getAddr(), getListenerInterface(), getListenerInterfaceCount(), CASocketAddr::getType(), CAListenerInterface::isHidden(), CAListenerInterface::isVirtual(), CASocket::listen(), CAMsg::printMsg(), CASocket::setReuseAddr(), and CASocketAddr::toString().
Referenced by CAFirstMix::init(), and setListenerInterfaces().
|
inline |
Set to true if the encrpyted log could/should be used.
Definition at line 467 of file CACmdLnOptions.hpp.
References E_SUCCESS, and m_bIsEncryptedLogEnabled.
Definition at line 1645 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, and m_strAccessControlCredential.
Definition at line 1380 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strAiID.
Referenced by CAAccountingInstance::CAAccountingInstance().
XERCES_CPP_NAMESPACE::DOMDocument ** CACmdLnOptions::getAllTermsAndConditionsTemplates | ( | ) |
Definition at line 1690 of file CACmdLnOptions.cpp.
References m_termsAndConditionsTemplates.
|
inline |
Definition at line 554 of file CACmdLnOptions.hpp.
References m_bAutoReconnect.
CAXMLBI * CACmdLnOptions::getBI | ( | ) |
Returns an CAXMLBI object, which describes the BI this AI uses.
This is not a copy of the CAXMLBI object. The caller should not delete it!
NULL | if BI was not set in the configuration file |
Definition at line 1322 of file CACmdLnOptions.cpp.
References m_pBI.
Definition at line 3230 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strCascadeName.
Referenced by CAFirstMix::initCountryStats().
|
inline |
Definition at line 481 of file CACmdLnOptions.hpp.
References m_pCascadeXML.
|
inline |
ONLY_LOCAL_PROXY or first mix.
Definition at line 516 of file CACmdLnOptions.hpp.
References m_bCompressedLogs.
Referenced by initLogging().
SINT32 CACmdLnOptions::getCountryStatsDBConnectionLoginData | ( | char ** | db_host, |
char ** | db_user, | ||
char ** | db_passwd | ||
) |
Definition at line 3162 of file CACmdLnOptions.cpp.
References E_SUCCESS, m_dbCountryStatsHost, m_dbCountryStatsPasswd, and m_dbCountryStatsUser.
Referenced by CAFirstMix::init().
Definition at line 1465 of file CACmdLnOptions.cpp.
References E_SPACE, E_SUCCESS, E_UNKNOWN, len, and m_strCredential.
Referenced by CALocalProxy::processKeyExchange().
|
inline |
bool CACmdLnOptions::getDaemon | ( | ) |
Definition at line 1260 of file CACmdLnOptions.cpp.
References m_bDaemon.
Referenced by initLogging().
Definition at line 1327 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strDatabaseHost.
Definition at line 1344 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strDatabaseName.
Definition at line 1368 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strDatabasePassword.
UINT16 CACmdLnOptions::getDatabasePort | ( | ) |
Definition at line 1339 of file CACmdLnOptions.cpp.
References m_iDatabasePort.
Referenced by CAAccountingDBInterface::initDBConnection().
Definition at line 1356 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strDatabaseUser.
|
inline |
Definition at line 610 of file CACmdLnOptions.hpp.
References m_u32DelayChannelBucketGrow.
Referenced by setNewValues().
|
inline |
Definition at line 614 of file CACmdLnOptions.hpp.
References m_u32DelayChannelBucketGrowIntervall.
Referenced by setNewValues().
|
inline |
Definition at line 606 of file CACmdLnOptions.hpp.
References m_u32DelayChannelUnlimitTraffic.
Referenced by setNewValues().
Definition at line 1429 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strEncryptedLogDir.
CAListenerInterface ** CACmdLnOptions::getInfoServices | ( | UINT32 & | r_size | ) |
Definition at line 3242 of file CACmdLnOptions.cpp.
References m_addrInfoServices, and m_addrInfoServicesSize.
Referenced by CAInfoService::getPaymentInstance(), isAllowedToPassRestrictions(), and CAInfoService::sendHelo().
|
inline |
Definition at line 380 of file CACmdLnOptions.hpp.
References m_u32KeepAliveRecvInterval.
Referenced by CALastMix::processKeyExchange(), and CAMiddleMix::processKeyExchange().
|
inline |
Definition at line 375 of file CACmdLnOptions.hpp.
References m_u32KeepAliveSendInterval.
Referenced by CALastMix::processKeyExchange(), and CAMiddleMix::processKeyExchange().
|
inline |
Definition at line 262 of file CACmdLnOptions.hpp.
References m_arListenerInterfaces, and m_cnListenerInterfaces.
Referenced by createSockets(), CALastMix::init(), CALocalProxy::init(), CAMiddleMix::init(), CAMix::initMixCascadeInfo(), and CAFirstMix::initOnce().
|
inline |
Definition at line 261 of file CACmdLnOptions.hpp.
References m_cnListenerInterfaces.
Referenced by createSockets(), CALastMix::init(), CAMiddleMix::init(), CAMix::initMixCascadeInfo(), CAFirstMix::initOnce(), and setListenerInterfaces().
Definition at line 1440 of file CACmdLnOptions.cpp.
References E_SPACE, E_SUCCESS, E_UNKNOWN, len, and m_strLogDir.
Referenced by initLogging().
|
inline |
Returns a certificate which contains a key which could be used for log encryption.
Definition at line 474 of file CACmdLnOptions.hpp.
References CACertificate::clone(), and m_pLogEncryptionCertificate.
Referenced by CAMsg::openEncryptedLog().
|
inline |
Definition at line 529 of file CACmdLnOptions.hpp.
References m_maxLogFiles.
Referenced by CAMsg::rotateLog().
|
inline |
Definition at line 524 of file CACmdLnOptions.hpp.
References m_maxLogFileSize.
|
inline |
Definition at line 392 of file CACmdLnOptions.hpp.
References m_maxNrOfUsers.
Referenced by CAMix::initMixCascadeInfo(), and setNewValues().
|
inline |
Definition at line 305 of file CACmdLnOptions.hpp.
References m_nrOfOpenFiles.
Definition at line 1285 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strTargetHost.
Referenced by CALocalProxy::init().
Definition at line 1265 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strMixID.
Referenced by CAFirstMix::doUserLogin_internal(), CAInfoService::getStatusXMLAsString(), CAMix::initMixCascadeInfo(), CAFirstMix::initMixParameters(), and CAMiddleMix::processKeyExchange().
UINT16 CACmdLnOptions::getMixPort | ( | ) |
Definition at line 1279 of file CACmdLnOptions.cpp.
References m_iTargetPort.
SINT32 CACmdLnOptions::getMixXml | ( | XERCES_CPP_NAMESPACE::DOMDocument *& | docMixInfo | ) |
Returns the XML tree describing the Mix .
This is NOT a copy!
docMixInfo | destination for the XML tree |
E_SUCCESS | if it was successful |
E_UNKNOWN | in case of an error |
Definition at line 3206 of file CACmdLnOptions.cpp.
References createDOMElement(), E_SUCCESS, E_UNKNOWN, getcurrentTimeMillis(), getDOMChildByName(), m_docMixInfo, print64(), CAMsg::printMsg(), setDOMElementValue(), and UNIVERSAL_NODE_LAST_UPDATE.
|
inline |
Definition at line 326 of file CACmdLnOptions.hpp.
References m_pMultiSignature.
Referenced by CAFirstMix::initOnce(), CALastMix::initOnce(), and CAMiddleMix::initOnce().
|
inline |
Definition at line 332 of file CACmdLnOptions.hpp.
References CACertificate::clone(), and m_pNextMixCertificate.
Referenced by CAMiddleMix::processKeyExchange().
UINT32 CACmdLnOptions::getNumberOfTermsAndConditionsTemplates | ( | ) |
Get the XML describing the Mix.
this is not a string!
Definition at line 1686 of file CACmdLnOptions.cpp.
References m_nrOfTermsAndConditionsTemplates.
Returns a COPY of the public test certifcate for that mix.
a | COPY of the mix test certifcate. Returns a COPY of the Operator Certificate of that mix. |
Definition at line 1415 of file CACmdLnOptions.cpp.
References E_UNKNOWN, CACertificate::getSubjectKeyIdentifier(), and m_OpCert.
Referenced by CAInfoService::getOperatorTnCsAsStrings(), and getTermsAndConditions().
UINT32 CACmdLnOptions::getPaymentHardLimit | ( | ) |
Definition at line 1392 of file CACmdLnOptions.cpp.
References m_iPaymentHardLimit.
Referenced by CAAccountingInstance::CAAccountingInstance().
UINT32 CACmdLnOptions::getPaymentSettleInterval | ( | ) |
Definition at line 1407 of file CACmdLnOptions.cpp.
References m_iPaymentSettleInterval.
Referenced by CAAccountingSettleThread::mainLoop().
UINT32 CACmdLnOptions::getPaymentSoftLimit | ( | ) |
Definition at line 1402 of file CACmdLnOptions.cpp.
References m_iPaymentSoftLimit.
Referenced by CAAccountingInstance::CAAccountingInstance().
Definition at line 1477 of file CACmdLnOptions.cpp.
References E_SPACE, E_SUCCESS, E_UNKNOWN, len, and m_strPidFile.
UINT32 CACmdLnOptions::getPrepaidInterval | ( | ) |
Definition at line 1397 of file CACmdLnOptions.cpp.
References m_iPrepaidInterval.
Referenced by CAAccountingInstance::cleanupTableEntry(), CAAccountingInstance::handleChallengeResponse_internal(), CAAccountingInstance::handleCostConfirmation_internal(), CAAccountingInstance::handleJapPacket_internal(), and CAAccountingInstance::sendCCRequest().
|
inline |
Definition at line 348 of file CACmdLnOptions.hpp.
References CACertificate::clone(), and m_pPrevMixCertificate.
Referenced by CALastMix::processKeyExchange(), and CAMiddleMix::processKeyExchange().
|
inline |
Definition at line 441 of file CACmdLnOptions.hpp.
References m_pPriceCertificate.
UINT16 CACmdLnOptions::getSOCKSPort | ( | ) |
Definition at line 1298 of file CACmdLnOptions.cpp.
References m_iSOCKSPort.
UINT16 CACmdLnOptions::getSOCKSServerPort | ( | ) |
Definition at line 1274 of file CACmdLnOptions.cpp.
References m_iSOCKSServerPort.
Referenced by CALocalProxy::loop().
SYMCHANNELCIPHER_ALGORITHM CACmdLnOptions::getSymChannelCipherAlgorithm | ( | ) | const |
Definition at line 1674 of file CACmdLnOptions.cpp.
References m_algSymChannelCipher.
|
inline |
Fills a TargetInterface
struct with the values which belongs to the target interface nr
.
This is actual a copy of all values, so the caller is responsible for destroying them after use!
oTargetInterface | TargetInterface struct, which gets filles with the values of target interface nr |
nr | the index of the target interface, for whcih information is request (starting with 1 for the first interface) |
E_SUCCESS | if successful |
E_UNKNOWN | if nr is out of range |
Definition at line 288 of file CACmdLnOptions.hpp.
References CATargetInterface::cloneInto(), E_UNKNOWN, m_arTargetInterfaces, and m_cnTargets.
Referenced by CAFirstMix::init(), CAMiddleMix::init(), CAMix::needAutoConfig(), setNewValues(), and CALastMix::setTargets().
|
inline |
Definition at line 274 of file CACmdLnOptions.hpp.
References m_cnTargets.
Referenced by CAFirstMix::init(), CAMiddleMix::init(), CAMix::needAutoConfig(), setNewValues(), and CALastMix::setTargets().
DOMElement * CACmdLnOptions::getTermsAndConditions | ( | ) |
Definition at line 1698 of file CACmdLnOptions.cpp.
References getOperatorSubjectKeyIdentifier(), m_docOpTnCs, OPTIONS_ATTRIBUTE_TNC_ID, setDOMElementAttribute(), and TMP_BUFF_SIZE.
Referenced by CAInfoService::getOperatorTnCsAsStrings().
|
inline |
Definition at line 328 of file CACmdLnOptions.hpp.
References m_pTrustedRootCertificates.
Referenced by CALastMix::processKeyExchange(), and CAMiddleMix::processKeyExchange().
Definition at line 1490 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, and m_strUser.
Referenced by setUserID().
Fills strAddressBuff
with a outside visible adress.
strAddressBuff | buffer for adress information (either hostname or IP string) |
len | size of strAddressBuff |
nr | the number of the adress we request information about (starting with 1 for the first address) |
E_SUCCESS | if successful |
E_SPACE | if buffer is to small for the requested address |
E_UNKNOWN | if nr is out of range |
Definition at line 4080 of file CACmdLnOptions.cpp.
References E_SPACE, E_SUCCESS, E_UNKNOWN, len, m_arStrVisibleAddresses, and m_cnVisibleAddresses.
Referenced by setTargetInterfaces().
|
inline |
Definition at line 313 of file CACmdLnOptions.hpp.
References m_cnVisibleAddresses.
Referenced by setTargetInterfaces().
|
inline |
Definition at line 370 of file CACmdLnOptions.hpp.
References m_pNextMixCertificate.
|
inline |
Definition at line 365 of file CACmdLnOptions.hpp.
References m_pPrevMixCertificate.
Referenced by processXmlConfiguration().
|
private |
Definition at line 3576 of file CACmdLnOptions.cpp.
References ACCOUNTING_OPTIONS_NR, accountingOptionSetters, setAccountingDatabase(), setAccountingHardLimit(), setAccountingSoftLimit(), setPaymentInstance(), setPrepaidInterval(), setPriceCertificate(), and setSettleInterval().
Referenced by CACmdLnOptions().
|
private |
Definition at line 3564 of file CACmdLnOptions.cpp.
References certificateOptionSetters, m_nCertificateOptionsSetters, MAX_CERTIFICATE_OPTIONS_NR, setNextMixCertificate(), setOwnCertificate(), setOwnOperatorCertificate(), and setPrevMixCertificate().
Referenced by CACmdLnOptions().
|
private |
Definition at line 3524 of file CACmdLnOptions.cpp.
References GENERAL_OPTIONS_NR, generalOptionSetters, setAccessControlCredential(), setCascadeNameFromOptions(), setDaemonMode(), setDynamicMix(), setLoggingOptions(), setMaxUsers(), setMinCascadeLength(), setMixID(), setMixName(), setMixType(), setNrOfFileDescriptors(), setPaymentReminder(), and setUserID().
Referenced by CACmdLnOptions().
SINT32 CACmdLnOptions::initLogging | ( | ) |
Definition at line 1537 of file CACmdLnOptions.cpp.
References E_SUCCESS, getCompressLogs(), getDaemon(), getLogDir(), CAMsg::init(), isEncryptedLogEnabled(), isSyslogEnabled(), m_bLogConsole, m_strLogLevel, MSG_COMPRESSED_FILE, MSG_FILE, MSG_LOG, MSG_NOLOG, MSG_STDOUT, CAMsg::openEncryptedLog(), CAMsg::printMsg(), CAMsg::setLogLevel(), and CAMsg::setLogOptions().
Referenced by setLoggingOptions().
|
private |
Definition at line 3494 of file CACmdLnOptions.cpp.
References MAIN_OPTION_SETTERS_NR, mainOptionSetters, setAccountingOptions(), setCertificateOptions(), setGeneralOptions(), setMixDescription(), setNetworkOptions(), setRessourceOptions(), and setTermsAndConditions().
Referenced by CACmdLnOptions().
|
private |
|
private |
Definition at line 3597 of file CACmdLnOptions.cpp.
References NETWORK_OPTIONS_NR, networkOptionSetters, setInfoServices(), setKeepAliveTraffic(), setListenerInterfaces(), setServerMonitoring(), and setTargetInterfaces().
Referenced by CACmdLnOptions().
|
private |
Definition at line 216 of file CACmdLnOptions.cpp.
References m_arpTermsAndConditionsOptionSetters, setTermsAndConditionsList(), setTermsAndConditionsTemplates(), and TERMS_AND_CONDITIONS_OPTIONS_NR.
Referenced by CACmdLnOptions().
|
private |
framework-function for calling predefined option setter functions.
Used by functions that handle a certain type of options, i.e. general settings, account setting, etc.
Definition at line 3456 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, and CAMsg::printMsg().
Referenced by processXmlConfiguration(), setAccountingOptions(), setCertificateOptions(), setGeneralOptions(), setNetworkOptions(), and setTermsAndConditions().
|
inline |
Definition at line 508 of file CACmdLnOptions.hpp.
References m_strAccessControlCredential.
|
inline |
Returns if the encrpyted Log could/should be used.
Definition at line 457 of file CACmdLnOptions.hpp.
References m_bIsEncryptedLogEnabled.
Referenced by initLogging().
bool CACmdLnOptions::isFirstMix | ( | ) |
Definition at line 1504 of file CACmdLnOptions.cpp.
References m_bFirstMix.
Referenced by CACmdLnOptions().
|
inline |
Definition at line 388 of file CACmdLnOptions.hpp.
References m_addrInfoServicesSize.
bool CACmdLnOptions::isLastMix | ( | ) |
Definition at line 1514 of file CACmdLnOptions.cpp.
References m_bLastMix.
Referenced by processXmlConfiguration(), and setTargetInterfaces().
bool CACmdLnOptions::isLocalProxy | ( | ) |
Definition at line 1519 of file CACmdLnOptions.cpp.
References m_bLocalProxy.
bool CACmdLnOptions::isMiddleMix | ( | ) |
Definition at line 1509 of file CACmdLnOptions.cpp.
References m_bMiddleMix.
|
inline |
Definition at line 548 of file CACmdLnOptions.hpp.
References m_bSocksSupport.
|
inline |
Definition at line 461 of file CACmdLnOptions.hpp.
References m_bSyslog.
Referenced by initLogging().
SINT32 CACmdLnOptions::parse | ( | int | argc, |
const char ** | arg | ||
) |
Definition at line 458 of file CACmdLnOptions.cpp.
References CASocket::create(), createMixOnCDConfiguration(), DEFAULT_CONFIG_FILE, DEFAULT_TARGET_PORT, E_FILE_OPEN, E_FILE_READ, E_SUCCESS, E_XML_PARSE, CAListenerInterface::getInstance(), m_arListenerInterfaces, m_bAutoReconnect, m_bCompressedLogs, m_bCryptoBenchmark, m_bDaemon, m_bLocalProxy, m_bSkipProxyCheck, m_cnListenerInterfaces, m_docMixXml, m_iSOCKSPort, m_iTargetPort, m_strConfigFile, m_strCredential, m_strLogDir, m_strPidFile, m_strSOCKSHost, m_strTargetHost, MIX_VERSION_INFO, MIX_VERSION_TESTING_TEXT, POPT_ARG_INT, POPT_ARG_NONE, POPT_ARG_STRING, POPT_AUTOHELP, POPT_ERROR_BADOPT, poptFreeContext(), poptGetContext(), poptGetNextOpt(), CAMsg::printMsg(), RAW_UNIX, readXmlConfiguration(), and TMP_BUFF_SIZE.
|
private |
**
Definition at line 5467 of file CACmdLnOptions.cpp.
References E_SUCCESS, getDOMChildByName(), getDOMElementValue(), getElementsByTagName(), CAListenerInterface::getInstance(), m_addrInfoServices, m_addrInfoServicesSize, m_bAcceptReconfiguration, OPTIONS_NODE_ALLOW_AUTO_CONF, OPTIONS_NODE_INFOSERVICE, and CAListenerInterface::XML_ELEMENT_CONTAINER_NAME.
Referenced by setInfoServices().
|
private |
Definition at line 3302 of file CACmdLnOptions.cpp.
References createDOMElement(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), getElementsByTagName(), hasPrevMixTestCertificate(), invokeOptionSetters(), isLastMix(), len, m_dbCountryStatsHost, m_dbCountryStatsPasswd, m_dbCountryStatsUser, m_docMixInfo, m_PaymentReminderProbability, m_pCascadeXML, MAIN_OPTION_SETTERS_NR, mainOptionSetters, MIX_VERSION, MIXINFO_NODE_PARENT, MIXINFO_NODE_PAYMENTREMINDER, MIXINFO_NODE_SOFTWARE, MIXINFO_NODE_VERSION, CAMsg::printMsg(), setDOMElementValue(), and verifyMixCertificates().
Referenced by setNextMix(), and setPrevMix().
|
private |
Tries to read the XML configuration from byte array buf
.
The parsed XML document is parsed only, not processed. Returns the parsed document as a DOM_Document
.
docConfig | on return contains the parsed XMl document |
buf | a byte array containing the XML data |
len | the length of the byte array |
E_SUCCESS | if successful |
E_XML_PARSE | if the data could not be parsed |
Definition at line 3284 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, len, parseDOMDocument(), and CAMsg::printMsg().
|
private |
Tries to read the XML configuration file configFile
and parses (but not process) it.
Returns the parsed document as DOM_Document
.
docConfig | on return contains the parsed XMl document |
configFile | file name of the XML config file |
E_SUCCESS | if successful |
E_FILE_OPEN | if error in opening the file |
E_FILE_READ | if not the whole file could be read |
E_XML_PARSE | if the file could not be parsed |
Definition at line 3257 of file CACmdLnOptions.cpp.
References E_FILE_OPEN, E_FILE_READ, filesize32(), len, and O_BINARY.
Referenced by parse().
Rereads the configuration file (if one was given on startup) and reconfigures the mix according to the new values.
This is done asyncronous. A new thread is started, which does the actual work. Note: We have to avoid an blocking on any mutex, as this function typically is called from a signal handler - and who knows which mutexes are blocked if this happend...
E_SUCCESS | if successful |
E_UNKNOWN | if an error occurs |
Definition at line 1212 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, m_bIsRunReConfigure, m_threadReConfigure, t_CMNDLN_REREAD_PARAMS::pCmdLnOptions, t_CMNDLN_REREAD_PARAMS::pMix, pMix, CAThread::setMainLoop(), CAThread::start(), and threadReConfigure.
Referenced by signal_hup().
|
static |
Saves the given XML Document to a file.
p_doc | The XML Document to be saved |
p_strFileName | The name of the file to be saved to |
E_SUCCESS |
Definition at line 2835 of file CACmdLnOptions.cpp.
References DOM_Output::dumpToMem(), E_SUCCESS, and len.
Referenced by createMixOnCDConfiguration().
|
private |
Definition at line 1614 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_docMixInfo, m_strAccessControlCredential, OPTIONS_NODE_CREDENTIAL, setDOMElementAttribute(), and TMP_BUFF_SIZE.
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 2030 of file CACmdLnOptions.cpp.
References ASSERT_ACCOUNTING_OPTIONS_PARENT, CAAccountingDBInterface::cleanup(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), CAAccountingDBInterface::init(), len, LOG_NODE_EMPTY_OR_INVALID, LOG_NODE_NOT_FOUND, m_bFirstMix, m_iDatabasePort, m_strDatabaseHost, m_strDatabaseName, m_strDatabasePassword, m_strDatabaseUser, OPTIONS_NODE_AI_DB, OPTIONS_NODE_AI_DB_HOST, OPTIONS_NODE_AI_DB_NAME, OPTIONS_NODE_AI_DB_PASSW, OPTIONS_NODE_AI_DB_PORT, OPTIONS_NODE_AI_DB_USER, CAMsg::printMsg(), strtrim(), and TMP_BUFF_SIZE.
Referenced by initAccountingOptionSetters().
|
private |
Definition at line 1913 of file CACmdLnOptions.cpp.
References ASSERT_ACCOUNTING_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), LOG_NODE_EMPTY_OR_INVALID, LOG_NODE_NOT_FOUND, m_iPaymentHardLimit, and OPTIONS_NODE_AI_HARD_LIMIT.
Referenced by initAccountingOptionSetters().
|
private |
Definition at line 1770 of file CACmdLnOptions.cpp.
References ACCOUNTING_OPTIONS_NR, accountingOptionSetters, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), invokeOptionSetters(), LOG_NODE_NOT_FOUND, and OPTIONS_NODE_ACCOUNTING.
Referenced by initMainOptionSetters().
|
private |
Definition at line 1883 of file CACmdLnOptions.cpp.
References ASSERT_ACCOUNTING_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), LOG_NODE_EMPTY_OR_INVALID, LOG_NODE_NOT_FOUND, m_iPaymentSoftLimit, and OPTIONS_NODE_AI_SOFT_LIMIT.
Referenced by initAccountingOptionSetters().
Definition at line 401 of file CACmdLnOptions.hpp.
References E_SUCCESS, and m_strCascadeName.
Referenced by setCascadeNameFromOptions().
|
private |
Definition at line 4539 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_strMixID, OPTIONS_NODE_CASCADE_NAME, setCascadeName(), and TMP_BUFF_SIZE.
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 4124 of file CACmdLnOptions.cpp.
References certificateOptionSetters, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), invokeOptionSetters(), LOG_NODE_NOT_FOUND, m_nCertificateOptionsSetters, and OPTIONS_NODE_CERTIFICATE_LIST.
Referenced by initMainOptionSetters().
|
private |
Definition at line 4662 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_bDaemon, OPTIONS_NODE_DAEMON, and TMP_BUFF_SIZE.
Referenced by initGeneralOptionSetters().
|
private |
determines whether this mix is a dynamic mix or not appears in <General></General> and is optional.
Definition at line 5316 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_bDynamic, OPTIONS_NODE_DYNAMIC_MIX, CAMsg::printMsg(), and TMP_BUFF_SIZE.
Referenced by initGeneralOptionSetters().
|
private |
TODO: Mabe make the SymChannelCipher configurable at runtime....
end TODO
Definition at line 5106 of file CACmdLnOptions.cpp.
References CTR, E_SUCCESS, E_UNKNOWN, GENERAL_OPTIONS_NR, generalOptionSetters, getDOMChildByName(), invokeOptionSetters(), LOG_NODE_NOT_FOUND, NULL_CIPHER, OFB, OPTIONS_NODE_GENERAL, and setSymChannelCipherAlgorithm().
Referenced by initMainOptionSetters().
|
private |
Definition at line 5345 of file CACmdLnOptions.cpp.
References ASSERT_NETWORK_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), CAListenerInterface::getInstance(), LOG_NODE_EMPTY_OR_INVALID, LOG_NODE_NOT_FOUND, m_addrInfoServices, m_addrInfoServicesSize, m_bAcceptReconfiguration, OPTIONS_NODE_ALLOW_AUTO_CONF, OPTIONS_NODE_INFOSERVICE, OPTIONS_NODE_INFOSERVICE_LIST, parseInfoServices(), and TMP_BUFF_SIZE.
Referenced by initNetworkOptionSetters().
|
private |
Definition at line 4778 of file CACmdLnOptions.cpp.
References ASSERT_NETWORK_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), KEEP_ALIVE_TRAFFIC_RECV_WAIT_TIME, KEEP_ALIVE_TRAFFIC_SEND_WAIT_TIME, m_u32KeepAliveRecvInterval, m_u32KeepAliveSendInterval, OPTIONS_NODE_KEEP_ALIVE, OPTIONS_NODE_KEEP_ALIVE_RECV_IVAL, OPTIONS_NODE_KEEP_ALIVE_SEND_IVAL, and OPTIONS_NODE_SERVER_MONITORING.
Referenced by initNetworkOptionSetters().
|
private |
Definition at line 4860 of file CACmdLnOptions.cpp.
References appendMixInfo_internal(), ASSERT_NETWORK_OPTIONS_PARENT, CASocket::close(), createSockets(), E_SPACE, E_SUCCESS, E_UNKNOWN, E_UNSPECIFIED, getDOMChildByName(), CAListenerInterface::getInstance(), getListenerInterfaceCount(), m_arListenerInterfaces, m_cnListenerInterfaces, OPTIONS_NODE_LISTENER_INTERFACES, CAMsg::printMsg(), and WITH_SUBTREE.
Referenced by initNetworkOptionSetters().
|
private |
Definition at line 4979 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, CERT_X509CERTIFICATE, CACertificate::decode(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), initLogging(), LOGGING_MAXFILES_DEFAULT, m_bIsEncryptedLogEnabled, m_bLogConsole, m_bSyslog, m_maxLogFiles, m_maxLogFileSize, m_pLogEncryptionCertificate, m_strEncryptedLogDir, m_strLogDir, m_strLogLevel, MIX_VERSION_INFO, MIX_VERSION_TESTING_TEXT, OPTIONS_ATTRIBUTE_LOGGING_MAXFILES, OPTIONS_ATTRIBUTE_LOGGING_MAXFILESIZE, OPTIONS_NODE_ENCRYPTED_LOG, OPTIONS_NODE_LOGGING, OPTIONS_NODE_LOGGING_CONSOLE, OPTIONS_NODE_LOGGING_FILE, OPTIONS_NODE_LOGGING_KEYINFO, OPTIONS_NODE_SYSLOG, OPTIONS_NODE_X509DATA, CAMsg::printMsg(), strtrim(), TMP_BUFF_SIZE, and toLower().
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 1718 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_maxNrOfUsers, and OPTIONS_NODE_MAX_USERS.
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 5524 of file CACmdLnOptions.cpp.
References appendMixInfo_internal(), ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), OPTIONS_NODE_MIN_CASCADE_LENGTH, and WITH_SUBTREE.
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 4955 of file CACmdLnOptions.cpp.
References ASSERT_CERTIFICATES_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_bVerifyMixCerts, m_pTrustedRootCertificates, OPTIONS_NODE_MIX_CERTIFICATE_VERIFICATION, CAMsg::printMsg(), and TMP_BUFF_SIZE.
|
private |
Definition at line 4097 of file CACmdLnOptions.cpp.
References appendMixInfo_internal(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), OPTIONS_NODE_DESCRIPTION, and WITH_SUBTREE.
Referenced by initMainOptionSetters().
|
private |
Definition at line 4511 of file CACmdLnOptions.cpp.
References addMixIdToMixInfo(), ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_strMixID, OPTIONS_NODE_MIX_ID, OPTIONS_NODE_MIX_NAME, strtrim(), and TMP_BUFF_SIZE.
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 4434 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, createDOMElement(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), m_docMixInfo, m_strMixName, MIXINFO_NODE_MIX_NAME, OPTIONS_ATTRIBUTE_NAME_FOR_CASCADE, OPTIONS_NODE_MIX_NAME, OPTIONS_VALUE_MIX_NAME, OPTIONS_VALUE_OPERATOR_NAME, setDOMElementAttribute(), setDOMElementValue(), and TMP_BUFF_SIZE.
Referenced by initGeneralOptionSetters().
|
private |
determines whether this mix is a first a middle or a last mix appears in <General></General> and must be set.
Definition at line 4389 of file CACmdLnOptions.cpp.
References appendMixInfo_internal(), ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), LOG_NODE_EMPTY_OR_INVALID, LOG_NODE_NOT_FOUND, m_bFirstMix, m_bLastMix, m_bMiddleMix, OPTIONS_NODE_MIX_TYPE, TMP_BUFF_SIZE, and WITH_SUBTREE.
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 4142 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, getDOMChildByName(), invokeOptionSetters(), LOG_NODE_NOT_FOUND, NETWORK_OPTIONS_NR, networkOptionSetters, and OPTIONS_NODE_NETWORK.
Referenced by initMainOptionSetters().
|
private |
Copies options from newOptions
.
Only those options which are specified in newOptions
are copied. The others are left untouched!
newOptions | CACmdLnOptions object from which the new values are copied |
E_UNKNOWN | if an error occurs |
E_SUCCESS | otherwise |
Definition at line 793 of file CACmdLnOptions.cpp.
References clearTargetInterfaces(), E_SUCCESS, getDelayChannelBucketGrow(), getDelayChannelBucketGrowIntervall(), getDelayChannelUnlimitTraffic(), getMaxNrOfUsers(), getTargetInterface(), getTargetInterfaceCount(), m_arTargetInterfaces, m_cnTargets, m_maxNrOfUsers, m_u32DelayChannelBucketGrow, m_u32DelayChannelBucketGrowIntervall, and m_u32DelayChannelUnlimitTraffic.
SINT32 CACmdLnOptions::setNextMix | ( | XERCES_CPP_NAMESPACE::DOMDocument * | doc | ) |
Modifies the next mix settings (target interface and certificate) according to the specified options object.
Target interfaces are only copied if they denote a next mix. HTTP and SOCKS proxy settings are ignored.
doc | a DOM document containing XML data with the new options |
Definition at line 829 of file CACmdLnOptions.cpp.
References CERT_X509CERTIFICATE, createDOMElement(), CACertificate::decode(), E_SUCCESS, getDOMChildByName(), m_docMixXml, m_pNextMixCertificate, OPTIONS_NODE_CERTIFICATE_LIST, OPTIONS_NODE_LISTENER_INTERFACE, OPTIONS_NODE_NETWORK, OPTIONS_NODE_NEXT_MIX, OPTIONS_NODE_NEXT_MIX_CERTIFICATE, OPTIONS_NODE_SIGNATURE, OPTIONS_NODE_X509DATA, CAMsg::printMsg(), and processXmlConfiguration().
|
private |
Definition at line 4683 of file CACmdLnOptions.cpp.
References ASSERT_CERTIFICATES_OPTIONS_PARENT, CERT_X509CERTIFICATE, CACertificate::decode(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), m_bVerifyMixCerts, m_pNextMixCertificate, OPTIONS_NODE_NEXT_MIX_CERTIFICATE, and CAMsg::printMsg().
Referenced by initCertificateOptionSetters().
|
inline |
Definition at line 339 of file CACmdLnOptions.hpp.
References CACertificate::clone(), E_SUCCESS, E_UNKNOWN, and m_pNextMixCertificate.
Referenced by CAMiddleMix::processKeyExchange().
|
private |
Definition at line 4619 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, GET_NET_ERROR, GET_NET_ERROR_STR, getDOMChildByName(), getDOMElementValue(), m_nrOfOpenFiles, OPTIONS_NODE_FD_NR, and CAMsg::printMsg().
Referenced by initGeneralOptionSetters().
|
private |
m_pSignKey = new CASignature();
m_pOwnCertificate =
if ( (m_pOwnCertificate->getSubjectKeyIdentifier(tmpBuff, &tmpLen) != E_SUCCESS) &&
Definition at line 4156 of file CACmdLnOptions.cpp.
References CACertStore::add(), addMixIdToMixInfo(), CAMultiSignature::addSignature(), ASSERT_CERTIFICATES_OPTIONS_PARENT, CERT_PKCS12, CERT_X509CERTIFICATE, CACertificate::decode(), E_SUCCESS, E_UNKNOWN, CAMultiSignature::findSKI(), CACertificate::getAuthorityKeyIdentifier(), getDOMChildByName(), getElementsByTagName(), CACertStore::getNumber(), CACertificate::getRawSubjectKeyIdentifier(), CAMultiSignature::getSignatureCount(), CACertificate::getSubjectKeyIdentifier(), CAMultiSignature::getXORofSKIs(), LOG_NODE_NOT_FOUND, m_opCertList, m_pMultiSignature, m_strAiID, m_strCascadeName, m_strMixID, OPTIONS_NODE_OWN_CERTIFICATE, OPTIONS_NODE_X509_PKCS12, CAMsg::printMsg(), readPasswd(), CASignature::setSignKey(), SIGKEY_PKCS12, TMP_BUFF_SIZE, and CACertificate::verify().
Referenced by initCertificateOptionSetters().
|
private |
Definition at line 4919 of file CACmdLnOptions.cpp.
References ASSERT_CERTIFICATES_OPTIONS_PARENT, CERT_X509CERTIFICATE, CACertificate::decode(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getElementsByTagName(), LOG_NODE_NOT_FOUND, m_OpCert, m_opCertList, OPTIONS_NODE_OWN_OPERATOR_CERTIFICATE, and OPTIONS_NODE_X509_CERTIFICATE.
Referenced by initCertificateOptionSetters().
|
private |
Definition at line 1861 of file CACmdLnOptions.cpp.
References ASSERT_ACCOUNTING_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), m_pBI, OPTIONS_NODE_PAYMENT_INSTANCE, and CAMsg::printMsg().
Referenced by initAccountingOptionSetters().
|
private |
Definition at line 1739 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), m_PaymentReminderProbability, and OPTIONS_NODE_PAYMENT_REMINDER.
Referenced by initGeneralOptionSetters().
|
private |
Definition at line 1943 of file CACmdLnOptions.cpp.
References ASSERT_ACCOUNTING_OPTIONS_PARENT, createDOMElement(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), LOG_NODE_NOT_FOUND, m_docMixInfo, m_iPrepaidInterval, OPTIONS_DEFAULT_PREPAID_IVAL, OPTIONS_NODE_PREPAID_IVAL, OPTIONS_NODE_PREPAID_IVAL_KB, CAMsg::printMsg(), and setDOMElementValue().
Referenced by initAccountingOptionSetters().
SINT32 CACmdLnOptions::setPrevMix | ( | XERCES_CPP_NAMESPACE::DOMDocument * | doc | ) |
Modifies the next mix settings (target interface and certificate) according to the specified options object.
Target interfaces are only copied if they denote a next mix. HTTP and SOCKS proxy settings are ignored.
doc | a DOM document containing XML data with the new options |
Definition at line 1061 of file CACmdLnOptions.cpp.
References createDOMElement(), DOM_Output::dumpToMem(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), len, m_docMixXml, OPTIONS_NODE_CERTIFICATE_LIST, OPTIONS_NODE_PREV_MIX_CERTIFICATE, OPTIONS_NODE_SIGNATURE, OPTIONS_NODE_X509_CERTIFICATE, OPTIONS_NODE_X509DATA, CAMsg::printMsg(), and processXmlConfiguration().
|
private |
Definition at line 4710 of file CACmdLnOptions.cpp.
References ASSERT_CERTIFICATES_OPTIONS_PARENT, CERT_X509CERTIFICATE, CACertificate::decode(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), m_bVerifyMixCerts, m_pPrevMixCertificate, and OPTIONS_NODE_PREV_MIX_CERTIFICATE.
Referenced by initCertificateOptionSetters().
|
inline |
Definition at line 355 of file CACmdLnOptions.hpp.
References CACertificate::clone(), E_SUCCESS, E_UNKNOWN, and m_pPrevMixCertificate.
Referenced by CALastMix::processKeyExchange(), and CAMiddleMix::processKeyExchange().
|
private |
Definition at line 1787 of file CACmdLnOptions.cpp.
References appendMixInfo_internal(), ASSERT_ACCOUNTING_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, CAMultiSignature::findSKI(), getDOMChildByName(), LOG_NODE_NOT_FOUND, m_pBI, m_pMultiSignature, m_pPriceCertificate, m_strAiID, OPTIONS_NODE_PRICE_CERTIFICATE, CAMsg::printMsg(), CAMultiSignature::verifyXML(), and WITH_SUBTREE.
Referenced by initAccountingOptionSetters().
|
private |
reads the parameters for the ressource limitation for last mix/first mix
Definition at line 5545 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), m_u32DelayChannelBucketGrow, m_u32DelayChannelBucketGrowIntervall, m_u32DelayChannelUnlimitTraffic, OPTIONS_NODE_BYTES_PER_IVAL, OPTIONS_NODE_DELAY_IVAL, OPTIONS_NODE_LATENCY, OPTIONS_NODE_RESSOURCES, OPTIONS_NODE_UNLIMIT_TRAFFIC, and CAMsg::printMsg().
Referenced by initMainOptionSetters().
|
private |
Definition at line 5398 of file CACmdLnOptions.cpp.
References appendMixInfo_internal(), ASSERT_NETWORK_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), OPTIONS_NODE_HOST, OPTIONS_NODE_PORT, OPTIONS_NODE_SERVER_MONITORING, CAMsg::printMsg(), TMP_BUFF_SIZE, and WITH_SUBTREE.
Referenced by initNetworkOptionSetters().
|
private |
Definition at line 2001 of file CACmdLnOptions.cpp.
References ASSERT_ACCOUNTING_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), LOG_NODE_EMPTY_OR_INVALID, LOG_NODE_NOT_FOUND, m_iPaymentSettleInterval, and OPTIONS_NODE_SETTLE_IVAL.
Referenced by initAccountingOptionSetters().
|
private |
Definition at line 1656 of file CACmdLnOptions.cpp.
References createDOMElement(), E_SUCCESS, CASymChannelCipher::getAlgorithmName(), getDOMChildByName(), m_algSymChannelCipher, m_docMixInfo, and setDOMElementValue().
Referenced by setGeneralOptions().
|
private |
This method sets the proxy or next mix settings.
Definition at line 3617 of file CACmdLnOptions.cpp.
References addVisibleAddresses(), ASSERT_NETWORK_OPTIONS_PARENT, CATargetInterface::cleanAddr(), clearVisibleAddresses(), CASocketAddr::clone(), CASocket::close(), CASocket::connect(), createDOMElement(), E_SUCCESS, E_UNKNOWN, GET_NET_ERROR, GET_NET_ERROR_STR, getDOMChildByName(), getDOMElementValue(), getElementsByTagName(), getVisibleAddress(), getVisibleAddressesCount(), isLastMix(), LAST_MIX_TO_PROXY_CONNECT_TIMEOUT, m_arTargetInterfaces, m_bSkipProxyCheck, m_bSocksSupport, m_bVPNSupport, m_cnTargets, m_docMixInfo, OPTIONS_NODE_FILE, OPTIONS_NODE_HOST, OPTIONS_NODE_IP, OPTIONS_NODE_NETWORK_PROTOCOL, OPTIONS_NODE_NEXT_MIX, OPTIONS_NODE_PORT, OPTIONS_NODE_PROXY, OPTIONS_NODE_PROXY_LIST, OPTIONS_NODE_PROXY_TYPE, CAMsg::printMsg(), RAW_TCP, RAW_UNIX, CATargetInterface::set(), setDOMElementAttribute(), setDOMElementValue(), CASocket::setRecvBuff(), CASocket::setSendBuff(), SSL_TCP, SSL_UNIX, strtrim(), TARGET_HTTP_PROXY, TARGET_MIX, TARGET_SOCKS_PROXY, TARGET_UNKNOWN, TARGET_VPN_PROXY, TMP_BUFF_SIZE, CASocketAddr::toString(), type, and UNKNOWN_NETWORKTYPE.
Referenced by initNetworkOptionSetters().
|
private |
Definition at line 2184 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, getDOMChildByName(), invokeOptionSetters(), m_arpTermsAndConditionsOptionSetters, OPTIONS_NODE_TNCS_OPTS, CAMsg::printMsg(), and TERMS_AND_CONDITIONS_OPTIONS_NR.
Referenced by initMainOptionSetters().
|
private |
Definition at line 2301 of file CACmdLnOptions.cpp.
References createDOMDocument(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementAttribute(), getElementsByTagName(), integrateDOMNode(), m_docOpTnCs, OPTIONS_ATTRIBUTE_TNC_DATE, OPTIONS_ATTRIBUTE_TNC_DEFAULT_LANG_DEFINED, OPTIONS_ATTRIBUTE_TNC_LOCALE, OPTIONS_ATTRIBUTE_TNC_TEMPLATE_REFID, OPTIONS_NODE_TNCS, OPTIONS_NODE_TNCS_OPERATOR, OPTIONS_NODE_TNCS_TRANSLATION, OPTIONS_NODE_TNCS_TRANSLATION_IMPORTS, CAMsg::printMsg(), TMP_BUFF_SIZE, TMP_DATE_SIZE, TMP_LOCALE_SIZE, and WITH_SUBTREE.
Referenced by initTermsAndConditionsOptionSetters().
|
private |
Definition at line 2206 of file CACmdLnOptions.cpp.
References E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getDOMElementValue(), getElementsByTagName(), getTermsAndConditionsTemplateRefId(), len, m_nrOfTermsAndConditionsTemplates, m_termsAndConditionsTemplates, OPTIONS_NODE_TNCS_TEMPLATE, OPTIONS_NODE_TNCS_TEMPLATES, parseDOMDocument(), CAMsg::printMsg(), TEMPLATE_REFID_MAXLEN, and TMP_BUFF_SIZE.
Referenced by initTermsAndConditionsOptionSetters().
|
private |
Definition at line 4732 of file CACmdLnOptions.cpp.
References CACertStore::add(), ASSERT_CERTIFICATES_OPTIONS_PARENT, CERT_X509CERTIFICATE, CACertificate::decode(), E_SUCCESS, E_UNKNOWN, getDOMChildByName(), getElementsByTagName(), CACertStore::getNumber(), LOG_NODE_NOT_FOUND, m_bVerifyMixCerts, m_pTrustedRootCertificates, OPTIONS_NODE_TRUSTED_ROOT_CERTIFICATES, OPTIONS_NODE_X509_CERTIFICATE, and CAMsg::printMsg().
|
private |
Definition at line 4570 of file CACmdLnOptions.cpp.
References ASSERT_GENERAL_OPTIONS_PARENT, E_SUCCESS, E_UNKNOWN, GET_NET_ERROR, GET_NET_ERROR_STR, getDOMChildByName(), getDOMElementValue(), getUser(), m_strUser, OPTIONS_NODE_USER_ID, CAMsg::printMsg(), and TMP_BUFF_SIZE.
Referenced by initGeneralOptionSetters().
|
inline |
Definition at line 327 of file CACmdLnOptions.hpp.
References m_bVerifyMixCerts.
Referenced by processXmlConfiguration().
|
friend |
Thread that does the actual reconfigure work.
Only one is running at the same time.
param | pointer to a t_CMNDLN_REREAD_PARAMS stuct containing a CACmdLnOptions object pointer and a CMix object pointer. |
Definition at line 1229 of file CACmdLnOptions.cpp.
Referenced by reread().
|
private |
Definition at line 907 of file CACmdLnOptions.hpp.
Referenced by clean(), initAccountingOptionSetters(), and setAccountingOptions().
|
private |
Definition at line 911 of file CACmdLnOptions.hpp.
Referenced by clean(), initCertificateOptionSetters(), and setCertificateOptions().
|
private |
Definition at line 910 of file CACmdLnOptions.hpp.
Referenced by clean(), initGeneralOptionSetters(), and setGeneralOptions().
|
private |
Definition at line 774 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getInfoServices(), parseInfoServices(), and setInfoServices().
|
private |
Definition at line 771 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getInfoServices(), isInfoServiceEnabled(), parseInfoServices(), and setInfoServices().
|
private |
Definition at line 814 of file CACmdLnOptions.hpp.
Referenced by getSymChannelCipherAlgorithm(), and setSymChannelCipherAlgorithm().
|
private |
Definition at line 844 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clearListenerInterfaces(), getListenerInterface(), parse(), and setListenerInterfaces().
|
private |
Definition at line 914 of file CACmdLnOptions.hpp.
Referenced by clean(), initTermsAndConditionsOptionSetters(), and setTermsAndConditions().
|
private |
Definition at line 846 of file CACmdLnOptions.hpp.
Referenced by addVisibleAddresses(), CACmdLnOptions(), clearVisibleAddresses(), and getVisibleAddress().
|
private |
Definition at line 842 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clearTargetInterfaces(), getTargetInterface(), setNewValues(), and setTargetInterfaces().
|
private |
Definition at line 770 of file CACmdLnOptions.hpp.
Referenced by acceptReconfiguration(), CACmdLnOptions(), parseInfoServices(), and setInfoServices().
|
private |
Definition at line 818 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getAutoReconnect(), and parse().
|
private |
Definition at line 825 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getCompressLogs(), and parse().
|
private |
Definition at line 826 of file CACmdLnOptions.hpp.
Referenced by getCryptoBenchmark(), and parse().
|
private |
Definition at line 754 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDaemon(), parse(), and setDaemonMode().
|
private |
Definition at line 778 of file CACmdLnOptions.hpp.
Referenced by setDynamicMix().
|
private |
Definition at line 817 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), isFirstMix(), setAccountingDatabase(), and setMixType().
|
private |
Definition at line 840 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), enableEncryptedLog(), isEncryptedLogEnabled(), and setLoggingOptions().
|
private |
Definition at line 782 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), and reread().
|
private |
Definition at line 817 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), isLastMix(), and setMixType().
|
private |
ONLY_LOCAL_PROXY or first.
Definition at line 817 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), isLocalProxy(), and parse().
|
private |
Definition at line 830 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), initLogging(), and setLoggingOptions().
|
private |
Definition at line 817 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), isMiddleMix(), and setMixType().
|
private |
Definition at line 834 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), parse(), and setTargetInterfaces().
|
private |
Definition at line 827 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), isSock5sSupported(), and setTargetInterfaces().
|
private |
Definition at line 829 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), isSyslogEnabled(), and setLoggingOptions().
|
private |
Definition at line 764 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), setMixCertificateVerification(), setNextMixCertificate(), setPrevMixCertificate(), setTrustedRootCertificates(), and verifyMixCertificates().
|
private |
Definition at line 828 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), and setTargetInterfaces().
|
private |
Definition at line 845 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clearListenerInterfaces(), getListenerInterface(), getListenerInterfaceCount(), parse(), and setListenerInterfaces().
|
private |
Definition at line 843 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clearTargetInterfaces(), getTargetInterface(), getTargetInterfaceCount(), setNewValues(), and setTargetInterfaces().
|
private |
Definition at line 847 of file CACmdLnOptions.hpp.
Referenced by addVisibleAddresses(), CACmdLnOptions(), clearVisibleAddresses(), getVisibleAddress(), and getVisibleAddressesCount().
|
private |
Definition at line 926 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getCountryStatsDBConnectionLoginData(), and processXmlConfiguration().
|
private |
Definition at line 928 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getCountryStatsDBConnectionLoginData(), and processXmlConfiguration().
|
private |
Definition at line 927 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getCountryStatsDBConnectionLoginData(), and processXmlConfiguration().
|
private |
Definition at line 773 of file CACmdLnOptions.hpp.
Referenced by addMixIdToMixInfo(), appendMixInfo_internal(), CACmdLnOptions(), clean(), getMixXml(), processXmlConfiguration(), setAccessControlCredential(), setMixName(), setPrepaidInterval(), setSymChannelCipherAlgorithm(), and setTargetInterfaces().
|
private |
Definition at line 940 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), parse(), setNextMix(), and setPrevMix().
|
private |
Definition at line 805 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getTermsAndConditions(), and setTermsAndConditionsList().
|
private |
Definition at line 902 of file CACmdLnOptions.hpp.
Referenced by getDatabasePort(), and setAccountingDatabase().
|
private |
Definition at line 903 of file CACmdLnOptions.hpp.
Referenced by getPaymentHardLimit(), and setAccountingHardLimit().
|
private |
Definition at line 906 of file CACmdLnOptions.hpp.
Referenced by getPaymentSettleInterval(), and setSettleInterval().
|
private |
Definition at line 904 of file CACmdLnOptions.hpp.
Referenced by getPaymentSoftLimit(), and setAccountingSoftLimit().
|
private |
Definition at line 905 of file CACmdLnOptions.hpp.
Referenced by getPrepaidInterval(), and setPrepaidInterval().
|
private |
Definition at line 759 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getSOCKSPort(), and parse().
|
private |
Definition at line 755 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), and getSOCKSServerPort().
|
private |
Definition at line 756 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getMixPort(), and parse().
|
private |
Definition at line 823 of file CACmdLnOptions.hpp.
Referenced by getMaxLogFiles(), and setLoggingOptions().
|
private |
Definition at line 822 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getMaxLogFileSize(), and setLoggingOptions().
|
private |
Definition at line 772 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getMaxNrOfUsers(), setMaxUsers(), and setNewValues().
|
private |
Definition at line 983 of file CACmdLnOptions.hpp.
Referenced by initCertificateOptionSetters(), and setCertificateOptions().
|
private |
Definition at line 833 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getMaxOpenFiles(), and setNrOfFileDescriptors().
UINT32 CACmdLnOptions::m_nrOfTermsAndConditionsTemplates |
Definition at line 740 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getNumberOfTermsAndConditionsTemplates(), and setTermsAndConditionsTemplates().
|
private |
Definition at line 776 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getOperatorSubjectKeyIdentifier(), and setOwnOperatorCertificate().
|
private |
Definition at line 775 of file CACmdLnOptions.hpp.
Referenced by setOwnCertificate(), and setOwnOperatorCertificate().
|
private |
Definition at line 801 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), processXmlConfiguration(), and setPaymentReminder().
|
private |
Definition at line 896 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getBI(), setPaymentInstance(), and setPriceCertificate().
|
private |
Definition at line 804 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getCascadeXML(), and processXmlConfiguration().
|
private |
Definition at line 783 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), and cleanup().
|
private |
Definition at line 808 of file CACmdLnOptions.hpp.
|
private |
Definition at line 777 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getLogEncryptionKey(), and setLoggingOptions().
|
private |
Definition at line 762 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getMultiSigner(), setOwnCertificate(), and setPriceCertificate().
|
private |
Definition at line 766 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getNextMixTestCertificate(), hasNextMixTestCertificate(), setNextMix(), setNextMixCertificate(), and setNextMixTestCertificate().
|
private |
Definition at line 767 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getPrevMixTestCertificate(), hasPrevMixTestCertificate(), setPrevMixCertificate(), and setPrevMixTestCertificate().
|
private |
Definition at line 792 of file CACmdLnOptions.hpp.
Referenced by getPriceCertificate(), and setPriceCertificate().
|
private |
Definition at line 765 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getTrustedCertificateStore(), setMixCertificateVerification(), and setTrustedRootCertificates().
|
private |
Definition at line 813 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getAccessControlCredential(), isAccessControlEnabled(), and setAccessControlCredential().
|
private |
Definition at line 901 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getAiID(), setOwnCertificate(), and setPriceCertificate().
|
private |
Definition at line 819 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getCascadeName(), setCascadeName(), and setOwnCertificate().
|
private |
Definition at line 753 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), and parse().
|
private |
Definition at line 760 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getCredential(), and parse().
|
private |
Definition at line 897 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDatabaseHost(), and setAccountingDatabase().
|
private |
Definition at line 898 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDatabaseName(), and setAccountingDatabase().
|
private |
Definition at line 900 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDatabasePassword(), and setAccountingDatabase().
|
private |
Definition at line 899 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDatabaseUsername(), and setAccountingDatabase().
|
private |
Definition at line 824 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getEncryptedLogDir(), and setLoggingOptions().
|
private |
Definition at line 820 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getLogDir(), parse(), setLogDir(), and setLoggingOptions().
|
private |
Definition at line 821 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), initLogging(), and setLoggingOptions().
|
private |
Definition at line 837 of file CACmdLnOptions.hpp.
Referenced by addMixIdToMixInfo(), CACmdLnOptions(), clean(), getMixId(), setCascadeNameFromOptions(), setMixID(), and setOwnCertificate().
|
private |
Definition at line 838 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), and setMixName().
|
private |
Definition at line 832 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getPidFile(), and parse().
|
private |
Definition at line 758 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getSOCKSHost(), and parse().
|
private |
Definition at line 757 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getMixHost(), and parse().
|
private |
Definition at line 831 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), clean(), getUser(), and setUserID().
XERCES_CPP_NAMESPACE::DOMDocument** CACmdLnOptions::m_termsAndConditionsTemplates |
Definition at line 739 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getAllTermsAndConditionsTemplates(), and setTermsAndConditionsTemplates().
|
private |
Definition at line 784 of file CACmdLnOptions.hpp.
Referenced by reread().
|
private |
Definition at line 884 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDelayChannelBucketGrow(), setNewValues(), and setRessourceOptions().
|
private |
Definition at line 885 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDelayChannelBucketGrowIntervall(), setNewValues(), and setRessourceOptions().
|
private |
Definition at line 883 of file CACmdLnOptions.hpp.
Referenced by CACmdLnOptions(), getDelayChannelUnlimitTraffic(), setNewValues(), and setRessourceOptions().
|
private |
Definition at line 769 of file CACmdLnOptions.hpp.
Referenced by getKeepAliveRecvInterval(), and setKeepAliveTraffic().
|
private |
Definition at line 768 of file CACmdLnOptions.hpp.
Referenced by getKeepAliveSendInterval(), and setKeepAliveTraffic().
|
private |
Definition at line 909 of file CACmdLnOptions.hpp.
Referenced by clean(), initMainOptionSetters(), and processXmlConfiguration().
|
private |
Definition at line 912 of file CACmdLnOptions.hpp.
Referenced by clean(), initNetworkOptionSetters(), and setNetworkOptions().