Changeset View
Changeset View
Standalone View
Standalone View
lang/cpp/src/verificationresult.cpp
Show First 20 Lines • Show All 272 Lines • ▼ Show 20 Lines | bool GpgME::Signature::isWrongKeyUsage() const | ||||
return !isNull() && d->sigs[idx]->wrong_key_usage; | return !isNull() && d->sigs[idx]->wrong_key_usage; | ||||
} | } | ||||
bool GpgME::Signature::isVerifiedUsingChainModel() const | bool GpgME::Signature::isVerifiedUsingChainModel() const | ||||
{ | { | ||||
return !isNull() && d->sigs[idx]->chain_model; | return !isNull() && d->sigs[idx]->chain_model; | ||||
} | } | ||||
bool GpgME::Signature::isDeVs() const | |||||
{ | |||||
return !isNull() && d->sigs[idx]->is_de_vs; | |||||
} | |||||
GpgME::Signature::PKAStatus GpgME::Signature::pkaStatus() const | GpgME::Signature::PKAStatus GpgME::Signature::pkaStatus() const | ||||
{ | { | ||||
if (!isNull()) { | if (!isNull()) { | ||||
return static_cast<PKAStatus>(d->sigs[idx]->pka_trust); | return static_cast<PKAStatus>(d->sigs[idx]->pka_trust); | ||||
} | } | ||||
return UnknownPKAStatus; | return UnknownPKAStatus; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 328 Lines • Show Last 20 Lines |