)]}'
{
  "commit": "f63c9650bca285932fb4dced804f9eec7e40b5ff",
  "tree": "9f96d88bedc9463e73cbf4bf417ad89f4603919d",
  "parents": [
    "af6371f3276419d16bcf1f97f8e1b88041812f9f"
  ],
  "author": {
    "name": "Miklos Vajna",
    "email": "vmiklos@collabora.co.uk",
    "time": "Tue Nov 03 16:32:12 2020 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Nov 03 16:32:12 2020 +0000"
  },
  "message": "Add FPDFSignatureObj_GetDocMDPPermission()\n\nA document is OK to not contain any explicit markup for this, in which\ncase 0 is returned. If a permission parameter is found, then the\nreturned level of 1, 2 or 3 controls if no incremental updates are\nallowed (1) or incremental updates are OK, but annotations are not\nallowed (2) or even annotations are allowed (3).\n\nNote how there is a difference between omitting just the /P key\n(implicitly means 2) and omitting the more of this markup, which will\nreturn 0.\n\nThis API is meant to be used in combination with the\nFPDF_GetTrailerEnds() API, which allows detecting additional incremental\nupdates after a signature. For example, if a comment is added after\nsigning, then Permission\u003d1 would result in an invalid signature, while\nPermission\u003d3 just results in a partial signature.\n\nChange-Id: I911e9ddaff3a687729e7fe610c013b2ce3283d36\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/75910\nCommit-Queue: Tom Sepez \u003ctsepez@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b438b8f6ab4b5823b9c95a245af3b0d230f5ba0f",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_signature.cpp",
      "new_id": "975c2522eb7d38ce2acb79f54193c142a8b67a4d",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_signature.cpp"
    },
    {
      "type": "modify",
      "old_id": "d2fd9c66378bc6e32eb329df65f37bc0e4e7fcfe",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_signature_embeddertest.cpp",
      "new_id": "e91d9c2211ab2aa2df217451f782b76a65713b48",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_signature_embeddertest.cpp"
    },
    {
      "type": "modify",
      "old_id": "7708cbab922a02123053ba738dffeecdd3f09ca0",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_view_c_api_test.c",
      "new_id": "1142725d66f53761edde4ba1cf31091442986b70",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_view_c_api_test.c"
    },
    {
      "type": "modify",
      "old_id": "f20d9add38f3e3f2ab2d95adf0fce4f1562ab8f4",
      "old_mode": 33188,
      "old_path": "public/fpdf_signature.h",
      "new_id": "702b67bae4e4ff0a84a99fb10a7b68b785d08cd5",
      "new_mode": 33188,
      "new_path": "public/fpdf_signature.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a8fe283739dad3e6b7ae4c814f2006a3124810e6",
      "new_mode": 33188,
      "new_path": "testing/resources/docmdp.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0191a0029506329ad2005f795e2ad05ca4539e9a",
      "new_mode": 33188,
      "new_path": "testing/resources/docmdp.pdf"
    }
  ]
}
