14 #include <zypp/base/LogTools.h> 54 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
57 {
return new Impl( *
this ); }
61 : _pimpl( new
Impl() )
64 : _pimpl( new
Impl(
std::move(file_r) ) )
67 : _pimpl( new
Impl(
std::move(file_r),
std::move(signature_r) ) )
std::string asString(const Patch::Category &obj)
bool fileValidated() const
Whether the signature was actually successfully verified.
RWCOW_pointer< Impl > _pimpl
Implementation.
const std::string & signatureId() const
The id of the gpg key which signed the file.
String related utilities and Regular expression matching.
Impl * clone() const
clone for RWCOW_pointer
std::optional< std::string > _shortFile
I/O context for KeyRing::verifyFileSignatureWorkflow.
std::string basename() const
Return the last component of this path.
const KeyContext & keyContext() const
KeyContext passed to callbacks
bool signatureIdTrusted() const
Whether the SignatureId is in the trusted keyring (not temp.
void resetResults()
Reset all result values to safe defaults.
const Pathname & signature() const
Detached signature or empty.
const Pathname & file() const
File to verify.
const BuddyKeys & buddyKeys() const
std::set< std::string > BuddyKeys
List of key safe key ids to import IFF fileValidated.
Directly accessed by verifyFileSignatureWorkflow to set the result data.
std::ostream & operator<<(std::ostream &str, const VerifyFileContext &obj)
bool fileAccepted() const
May return true due to user interaction or global defaults even if the signature was not actually ver...
void addBuddyKey(std::string sid_r)
std::string shortFile() const
Short name for file (default: basename).
Impl(Pathname file_r, Pathname signature_r)