[Qt] remove unused PaymentRequestPlus::getPKIType function

This commit is contained in:
Philip Kaufmann 2014-12-12 10:21:07 +01:00
parent 6e17a74766
commit d19ae3cf66
2 changed files with 0 additions and 7 deletions

View File

@ -59,12 +59,6 @@ bool PaymentRequestPlus::IsInitialized() const
return paymentRequest.IsInitialized(); return paymentRequest.IsInitialized();
} }
QString PaymentRequestPlus::getPKIType() const
{
if (!IsInitialized()) return QString("none");
return QString::fromStdString(paymentRequest.pki_type());
}
bool PaymentRequestPlus::getMerchant(X509_STORE* certStore, QString& merchant) const bool PaymentRequestPlus::getMerchant(X509_STORE* certStore, QString& merchant) const
{ {
merchant.clear(); merchant.clear();

View File

@ -29,7 +29,6 @@ public:
bool SerializeToString(std::string* output) const; bool SerializeToString(std::string* output) const;
bool IsInitialized() const; bool IsInitialized() const;
QString getPKIType() const;
// Returns true if merchant's identity is authenticated, and // Returns true if merchant's identity is authenticated, and
// returns human-readable merchant identity in merchant // returns human-readable merchant identity in merchant
bool getMerchant(X509_STORE* certStore, QString& merchant) const; bool getMerchant(X509_STORE* certStore, QString& merchant) const;