X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=zypp%2Ftarget%2Frpm%2FRpmDb.h;h=f2766c1147cb5cafbc34f4d6fca8a4b97981748c;hb=42b5d038414cf4a4a050e816b471f890b24e8032;hp=506008b89441abf0124a688cd264b9108db5b67b;hpb=b61a0ff7e76a542a874714e4ee7753db48f9f8aa;p=platform%2Fupstream%2Flibzypp.git diff --git a/zypp/target/rpm/RpmDb.h b/zypp/target/rpm/RpmDb.h index 506008b..f2766c1 100644 --- a/zypp/target/rpm/RpmDb.h +++ b/zypp/target/rpm/RpmDb.h @@ -433,8 +433,7 @@ public: CHK_FAIL = 2, /*!< Signature does not verify. */ CHK_NOTTRUSTED = 3, /*!< Signature is OK, but key is not trusted. */ CHK_NOKEY = 4, /*!< Public key is unavailable. */ - CHK_ERROR = 5, /*!< File does not exist or can't be opened. */ - CHK_NOSIG = 6, /*!< File has no gpg signature (only digests). */ + CHK_ERROR = 5 /*!< File does not exist or can't be opened. */ }; /** Detailed rpm signature check log messages @@ -445,31 +444,17 @@ public: {}; /** - * Check signature of rpm file on disk (legacy version returning CHK_OK if file is unsigned, like 'rpm -K') + * Check signature of rpm file on disk. * * @param path_r which file to check * @param detail_r Return detailed rpm log messages * - * @return CheckPackageResult (CHK_OK if file is unsigned) - * - * \see also \ref checkPackageSignature - */ + * @return CheckPackageResult + */ CheckPackageResult checkPackage( const Pathname & path_r, CheckPackageDetail & detail_r ); - /** \overload Ignoring the \a details_r */ + /** \overload Ignoring the \a datails_r */ CheckPackageResult checkPackage( const Pathname & path_r ); - /** - * Check signature of rpm file on disk (strict check returning CHK_NOSIG if file is unsigned). - * - * @param path_r which file to check - * @param detail_r Return detailed rpm log messages - * - * @return CheckPackageResult (CHK_NOSIG if file is unsigned) - * - * \see also \ref checkPackage - */ - CheckPackageResult checkPackageSignature( const Pathname & path_r, CheckPackageDetail & detail_r ); - /** install rpm package * * @param filename file to install