Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / target / rpm / RpmDb.h
index 506008b..f2766c1 100644 (file)
@@ -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