payload: {"action":"created","comment":{"url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/comments/320893676","pull_request_review_id":283790639,"id":320893676,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyMDg5MzY3Ng==","diff_hunk":"@@ -133,9 +143,46 @@ The response will be a stringified json object:\n  timestamp: \"<timestamp that you passed in or that was generated>\"\n }\n ```\n+\n+You can also confirm the signature that you receive when you interacting with our servers, simply use the confirm_sec_key method which returns a boolean:\n+\n+```java\n+import smile.identity.core.Signature;\n+\n+try {\n+  Signature connection = new Signature(partner_id, api_key);\n+  String signatureJsonStr = connection.confirm_sec_key(sec_key, timestamp);\n+  // If it is valid then use the response, else throw an error\n+} catch (Exception e) {\n+  e.printStackTrace();\n+  throw e;\n+}\n+```\n+\n+#### Utilities Class\n+\n+You may want to receive more information about a job. This is built into Web Api if you choose to set return_job_status as true in the options class. However, you also have the option to build the functionality yourself by using the Utilities class. Please note that if you are querying a job immediately after submitting it, you will need to poll it for the duration of the job.\n+\n+```java\n+import smile.identity.core.Utilities;\n+\n+String job_status = new Utilities(<partner_id>, <the decoded-version of-your-api-key>, <sid_server>).get_job_status(<user_id>, <job_id>, <return_image_links> , <return_history>);","path":"README.md","position":157,"original_position":132,"commit_id":"22621809a9754f9e88d5c8e82d55329b4a3d038b","original_commit_id":"2af05178a923d7ece48b2b44830d56c3c6074651","user":{"login":"Ridhwana","id":2786819,"node_id":"MDQ6VXNlcjI3ODY4MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/2786819?v=4","gravatar_id":"","url":"https://api.github.com/users/Ridhwana","html_url":"https://github.com/Ridhwana","followers_url":"https://api.github.com/users/Ridhwana/followers","following_url":"https://api.github.com/users/Ridhwana/following{/other_user}","gists_url":"https://api.github.com/users/Ridhwana/gists{/gist_id}","starred_url":"https://api.github.com/users/Ridhwana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ridhwana/subscriptions","organizations_url":"https://api.github.com/users/Ridhwana/orgs","repos_url":"https://api.github.com/users/Ridhwana/repos","events_url":"https://api.github.com/users/Ridhwana/events{/privacy}","received_events_url":"https://api.github.com/users/Ridhwana/received_events","type":"User","site_admin":false},"body":"Amended","created_at":"2019-09-04T17:54:34Z","updated_at":"2019-09-04T17:54:35Z","html_url":"https://github.com/smileidentity/smile-identity-core-java/pull/2#discussion_r320893676","pull_request_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/comments/320893676"},"html":{"href":"https://github.com/smileidentity/smile-identity-core-java/pull/2#discussion_r320893676"},"pull_request":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2"}},"in_reply_to_id":320012669},"pull_request":{"url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2","id":313233035,"node_id":"MDExOlB1bGxSZXF1ZXN0MzEzMjMzMDM1","html_url":"https://github.com/smileidentity/smile-identity-core-java/pull/2","diff_url":"https://github.com/smileidentity/smile-identity-core-java/pull/2.diff","patch_url":"https://github.com/smileidentity/smile-identity-core-java/pull/2.patch","issue_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/2","number":2,"state":"open","locked":false,"title":"Query Job status","user":{"login":"Ridhwana","id":2786819,"node_id":"MDQ6VXNlcjI3ODY4MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/2786819?v=4","gravatar_id":"","url":"https://api.github.com/users/Ridhwana","html_url":"https://github.com/Ridhwana","followers_url":"https://api.github.com/users/Ridhwana/followers","following_url":"https://api.github.com/users/Ridhwana/following{/other_user}","gists_url":"https://api.github.com/users/Ridhwana/gists{/gist_id}","starred_url":"https://api.github.com/users/Ridhwana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ridhwana/subscriptions","organizations_url":"https://api.github.com/users/Ridhwana/orgs","repos_url":"https://api.github.com/users/Ridhwana/repos","events_url":"https://api.github.com/users/Ridhwana/events{/privacy}","received_events_url":"https://api.github.com/users/Ridhwana/received_events","type":"User","site_admin":false},"body":"In this PR, we add a Utilities Class, this will be the basis for all Smile Identity Utility functions. The first method (get_job_status) is now being used by web api to get the job status. The polling however still remains as part of the web api class.\r\nAlso updated the documentation accordingly.\r\n\r\n![giphy (8)](https://user-images.githubusercontent.com/2786819/64112775-aa6c9580-cd88-11e9-8742-a90179b1b7cd.gif)\r\n","created_at":"2019-09-02T11:51:09Z","updated_at":"2019-09-04T17:54:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d34c5ab63d887f4042b2d38a7446931699a5aaca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2/commits","review_comments_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2/comments","review_comment_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/2/comments","statuses_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/statuses/22621809a9754f9e88d5c8e82d55329b4a3d038b","head":{"label":"smileidentity:query_job_status","ref":"query_job_status","sha":"22621809a9754f9e88d5c8e82d55329b4a3d038b","user":{"login":"smileidentity","id":24418837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDE4ODM3","avatar_url":"https://avatars0.githubusercontent.com/u/24418837?v=4","gravatar_id":"","url":"https://api.github.com/users/smileidentity","html_url":"https://github.com/smileidentity","followers_url":"https://api.github.com/users/smileidentity/followers","following_url":"https://api.github.com/users/smileidentity/following{/other_user}","gists_url":"https://api.github.com/users/smileidentity/gists{/gist_id}","starred_url":"https://api.github.com/users/smileidentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileidentity/subscriptions","organizations_url":"https://api.github.com/users/smileidentity/orgs","repos_url":"https://api.github.com/users/smileidentity/repos","events_url":"https://api.github.com/users/smileidentity/events{/privacy}","received_events_url":"https://api.github.com/users/smileidentity/received_events","type":"Organization","site_admin":false},"repo":{"id":200832227,"node_id":"MDEwOlJlcG9zaXRvcnkyMDA4MzIyMjc=","name":"smile-identity-core-java","full_name":"smileidentity/smile-identity-core-java","private":false,"owner":{"login":"smileidentity","id":24418837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDE4ODM3","avatar_url":"https://avatars0.githubusercontent.com/u/24418837?v=4","gravatar_id":"","url":"https://api.github.com/users/smileidentity","html_url":"https://github.com/smileidentity","followers_url":"https://api.github.com/users/smileidentity/followers","following_url":"https://api.github.com/users/smileidentity/following{/other_user}","gists_url":"https://api.github.com/users/smileidentity/gists{/gist_id}","starred_url":"https://api.github.com/users/smileidentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileidentity/subscriptions","organizations_url":"https://api.github.com/users/smileidentity/orgs","repos_url":"https://api.github.com/users/smileidentity/repos","events_url":"https://api.github.com/users/smileidentity/events{/privacy}","received_events_url":"https://api.github.com/users/smileidentity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/smileidentity/smile-identity-core-java","description":"The Official Smile Identity Java Library","fork":false,"url":"https://api.github.com/repos/smileidentity/smile-identity-core-java","forks_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/forks","keys_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/teams","hooks_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/hooks","issue_events_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/events{/number}","events_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/events","assignees_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/assignees{/user}","branches_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/branches{/branch}","tags_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/tags","blobs_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/statuses/{sha}","languages_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/languages","stargazers_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/stargazers","contributors_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/contributors","subscribers_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/subscribers","subscription_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/subscription","commits_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/contents/{+path}","compare_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/merges","archive_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/downloads","issues_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues{/number}","pulls_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls{/number}","milestones_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/milestones{/number}","notifications_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/labels{/name}","releases_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/releases{/id}","deployments_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/deployments","created_at":"2019-08-06T10:47:26Z","updated_at":"2019-09-02T10:42:35Z","pushed_at":"2019-09-04T17:52:57Z","git_url":"git://github.com/smileidentity/smile-identity-core-java.git","ssh_url":"git@github.com:smileidentity/smile-identity-core-java.git","clone_url":"https://github.com/smileidentity/smile-identity-core-java.git","svn_url":"https://github.com/smileidentity/smile-identity-core-java","homepage":"","size":116,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"smileidentity:master","ref":"master","sha":"5c869400ed1ccb91c0acedee81529a0ba8c9f83c","user":{"login":"smileidentity","id":24418837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDE4ODM3","avatar_url":"https://avatars0.githubusercontent.com/u/24418837?v=4","gravatar_id":"","url":"https://api.github.com/users/smileidentity","html_url":"https://github.com/smileidentity","followers_url":"https://api.github.com/users/smileidentity/followers","following_url":"https://api.github.com/users/smileidentity/following{/other_user}","gists_url":"https://api.github.com/users/smileidentity/gists{/gist_id}","starred_url":"https://api.github.com/users/smileidentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileidentity/subscriptions","organizations_url":"https://api.github.com/users/smileidentity/orgs","repos_url":"https://api.github.com/users/smileidentity/repos","events_url":"https://api.github.com/users/smileidentity/events{/privacy}","received_events_url":"https://api.github.com/users/smileidentity/received_events","type":"Organization","site_admin":false},"repo":{"id":200832227,"node_id":"MDEwOlJlcG9zaXRvcnkyMDA4MzIyMjc=","name":"smile-identity-core-java","full_name":"smileidentity/smile-identity-core-java","private":false,"owner":{"login":"smileidentity","id":24418837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDE4ODM3","avatar_url":"https://avatars0.githubusercontent.com/u/24418837?v=4","gravatar_id":"","url":"https://api.github.com/users/smileidentity","html_url":"https://github.com/smileidentity","followers_url":"https://api.github.com/users/smileidentity/followers","following_url":"https://api.github.com/users/smileidentity/following{/other_user}","gists_url":"https://api.github.com/users/smileidentity/gists{/gist_id}","starred_url":"https://api.github.com/users/smileidentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileidentity/subscriptions","organizations_url":"https://api.github.com/users/smileidentity/orgs","repos_url":"https://api.github.com/users/smileidentity/repos","events_url":"https://api.github.com/users/smileidentity/events{/privacy}","received_events_url":"https://api.github.com/users/smileidentity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/smileidentity/smile-identity-core-java","description":"The Official Smile Identity Java Library","fork":false,"url":"https://api.github.com/repos/smileidentity/smile-identity-core-java","forks_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/forks","keys_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/teams","hooks_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/hooks","issue_events_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/events{/number}","events_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/events","assignees_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/assignees{/user}","branches_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/branches{/branch}","tags_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/tags","blobs_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/statuses/{sha}","languages_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/languages","stargazers_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/stargazers","contributors_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/contributors","subscribers_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/subscribers","subscription_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/subscription","commits_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/contents/{+path}","compare_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/merges","archive_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/downloads","issues_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues{/number}","pulls_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls{/number}","milestones_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/milestones{/number}","notifications_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/labels{/name}","releases_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/releases{/id}","deployments_url":"https://api.github.com/repos/smileidentity/smile-identity-core-java/deployments","created_at":"2019-08-06T10:47:26Z","updated_at":"2019-09-02T10:42:35Z","pushed_at":"2019-09-04T17:52:57Z","git_url":"git://github.com/smileidentity/smile-identity-core-java.git","ssh_url":"git@github.com:smileidentity/smile-identity-core-java.git","clone_url":"https://github.com/smileidentity/smile-identity-core-java.git","svn_url":"https://github.com/smileidentity/smile-identity-core-java","homepage":"","size":116,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2"},"html":{"href":"https://github.com/smileidentity/smile-identity-core-java/pull/2"},"issue":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/2"},"comments":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/smileidentity/smile-identity-core-java/statuses/22621809a9754f9e88d5c8e82d55329b4a3d038b"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"Ridhwana"}}