Add isDeVs to ostream operator
* lang/cpp/src/decryptionresult.cpp, lang/cpp/src/verificationresult.cpp: Extend ostream operator to include isDeVs.
This commit is contained in:
parent
3b9123b4c6
commit
fe79eb8de3
@ -230,6 +230,7 @@ std::ostream &GpgME::operator<<(std::ostream &os, const DecryptionResult &result
|
||||
<< "\n fileName: " << protect(result.fileName())
|
||||
<< "\n unsupportedAlgorithm: " << protect(result.unsupportedAlgorithm())
|
||||
<< "\n isWrongKeyUsage: " << result.isWrongKeyUsage()
|
||||
<< "\n isDeVs " << result.isDeVs()
|
||||
<< "\n recipients:\n";
|
||||
const std::vector<DecryptionResult::Recipient> recipients = result.recipients();
|
||||
std::copy(recipients.begin(), recipients.end(),
|
||||
|
@ -590,6 +590,7 @@ std::ostream &GpgME::operator<<(std::ostream &os, const Signature &sig)
|
||||
<< "\n publicKeyAlgorithm: " << protect(sig.publicKeyAlgorithmAsString())
|
||||
<< "\n hashAlgorithm: " << protect(sig.hashAlgorithmAsString())
|
||||
<< "\n policyURL: " << protect(sig.policyURL())
|
||||
<< "\n isDeVs " << sig.isDeVs()
|
||||
<< "\n notations:\n";
|
||||
const std::vector<Notation> nota = sig.notations();
|
||||
std::copy(nota.begin(), nota.end(),
|
||||
|
Loading…
Reference in New Issue
Block a user