Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
paymentrequestplus.cpp
Go to the documentation of this file.
36 qWarning() << "PaymentRequestPlus::parse: Received up-version payment details, version=" << paymentRequest.payment_details_version();
81 qWarning() << "PaymentRequestPlus::getMerchant: Payment request: unknown pki_type " << QString::fromStdString(paymentRequest.pki_type());
97 qWarning() << "PaymentRequestPlus::getMerchant: Payment request: certificate expired or not yet active: " << qCert;
102 qWarning() << "PaymentRequestPlus::getMerchant: Payment request: certificate blacklisted: " << qCert;
128 qWarning() << "PaymentRequestPlus::getMerchant: Payment request: error creating X509_STORE_CTX";
148 if (!(error == X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT && gArgs.GetBoolArg("-allowselfsignedrootcertificates", DEFAULT_SELFSIGNED_ROOTCERTS))) {
151 qDebug() << "PaymentRequestPlus::getMerchant: Allowing self signed root certificate, because -allowselfsignedrootcertificates is true.";
176 !EVP_VerifyFinal(ctx, (const unsigned char*)paymentRequest.signature().data(), (unsigned int)paymentRequest.signature().size(), pubkey)) {
187 if (X509_NAME_get_text_by_NID(certname, NID_commonName, website, textlen + 1) == textlen && textlen > 0) {
193 // TODO: detect EV certificates and set merchant = business name instead of unfriendly NID_commonName ?
bool SerializeToString(std::string *output) const
Definition: paymentrequestplus.cpp:50
Definition: box.hpp:161
static const bool DEFAULT_SELFSIGNED_ROOTCERTS
Definition: paymentrequestplus.h:21
bool GetBoolArg(const std::string &strArg, bool fDefault) const
Return boolean argument or default value.
Definition: util.cpp:824
bool getMerchant(X509_STORE *certStore, QString &merchant) const
Definition: paymentrequestplus.cpp:60
QList< std::pair< CScript, CAmount > > getPayTo() const
Definition: paymentrequestplus.cpp:208
payments::PaymentRequest paymentRequest
Definition: paymentrequestplus.h:47
Definition: paymentrequestplus.cpp:22