{"action":"created","comment":{"url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/comments/23300869","id":23300869,"diff_hunk":"@@ -0,0 +1,64 @@\n+package com.klarna.ondemand;\n+\n+import android.util.Base64;\n+import org.json.JSONObject;\n+import java.util.UUID;\n+\n+/**\n+ * Assists in creating origin proofs that allow performing secure purchases.\n+ */\n+public class OriginProof {","path":"klarna-on-demand/src/main/java/com/klarna/ondemand/OriginProof.java","position":10,"original_position":10,"commit_id":"ab4e87a6af9762ba7490691694cf84f44050b73c","original_commit_id":"ab4e87a6af9762ba7490691694cf84f44050b73c","user":{"login":"tomerlevi444","id":7806514,"avatar_url":"https://avatars.githubusercontent.com/u/7806514?v=3","gravatar_id":"","url":"https://api.github.com/users/tomerlevi444","html_url":"https://github.com/tomerlevi444","followers_url":"https://api.github.com/users/tomerlevi444/followers","following_url":"https://api.github.com/users/tomerlevi444/following{/other_user}","gists_url":"https://api.github.com/users/tomerlevi444/gists{/gist_id}","starred_url":"https://api.github.com/users/tomerlevi444/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomerlevi444/subscriptions","organizations_url":"https://api.github.com/users/tomerlevi444/orgs","repos_url":"https://api.github.com/users/tomerlevi444/repos","events_url":"https://api.github.com/users/tomerlevi444/events{/privacy}","received_events_url":"https://api.github.com/users/tomerlevi444/received_events","type":"User","site_admin":false},"body":"add `final`","created_at":"2015-01-21T14:10:14Z","updated_at":"2015-01-21T14:10:14Z","html_url":"https://github.com/klarna/klarna-on-demand-android/pull/6#discussion_r23300869","pull_request_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/comments/23300869"},"html":{"href":"https://github.com/klarna/klarna-on-demand-android/pull/6#discussion_r23300869"},"pull_request":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6","id":27755965,"html_url":"https://github.com/klarna/klarna-on-demand-android/pull/6","diff_url":"https://github.com/klarna/klarna-on-demand-android/pull/6.diff","patch_url":"https://github.com/klarna/klarna-on-demand-android/pull/6.patch","issue_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/6","number":6,"state":"open","locked":false,"title":"Iaco 571 purchase signature","user":{"login":"yuval-netanel","id":2931327,"avatar_url":"https://avatars.githubusercontent.com/u/2931327?v=3","gravatar_id":"","url":"https://api.github.com/users/yuval-netanel","html_url":"https://github.com/yuval-netanel","followers_url":"https://api.github.com/users/yuval-netanel/followers","following_url":"https://api.github.com/users/yuval-netanel/following{/other_user}","gists_url":"https://api.github.com/users/yuval-netanel/gists{/gist_id}","starred_url":"https://api.github.com/users/yuval-netanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuval-netanel/subscriptions","organizations_url":"https://api.github.com/users/yuval-netanel/orgs","repos_url":"https://api.github.com/users/yuval-netanel/repos","events_url":"https://api.github.com/users/yuval-netanel/events{/privacy}","received_events_url":"https://api.github.com/users/yuval-netanel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-21T12:32:45Z","updated_at":"2015-01-21T14:10:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c74c1d09a825481d81c1b6ebdc8b89f165b1e1b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6/commits","review_comments_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6/comments","review_comment_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/comments/{number}","comments_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/6/comments","statuses_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/statuses/ab4e87a6af9762ba7490691694cf84f44050b73c","head":{"label":"klarna:IACO-571-purchase-signature","ref":"IACO-571-purchase-signature","sha":"ab4e87a6af9762ba7490691694cf84f44050b73c","user":{"login":"klarna","id":394540,"avatar_url":"https://avatars.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"repo":{"id":29127570,"name":"klarna-on-demand-android","full_name":"klarna/klarna-on-demand-android","owner":{"login":"klarna","id":394540,"avatar_url":"https://avatars.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/klarna/klarna-on-demand-android","description":"Klarna On Demand SDK for Android","fork":false,"url":"https://api.github.com/repos/klarna/klarna-on-demand-android","forks_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/forks","keys_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/teams","hooks_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/hooks","issue_events_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/events{/number}","events_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/events","assignees_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/assignees{/user}","branches_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/branches{/branch}","tags_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/tags","blobs_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/statuses/{sha}","languages_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/languages","stargazers_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/stargazers","contributors_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/contributors","subscribers_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/subscribers","subscription_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/subscription","commits_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/comments/{number}","contents_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/contents/{+path}","compare_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/merges","archive_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/downloads","issues_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues{/number}","pulls_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls{/number}","milestones_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/milestones{/number}","notifications_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/labels{/name}","releases_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/releases{/id}","created_at":"2015-01-12T09:13:58Z","updated_at":"2015-01-21T13:07:52Z","pushed_at":"2015-01-21T13:07:52Z","git_url":"git://github.com/klarna/klarna-on-demand-android.git","ssh_url":"git@github.com:klarna/klarna-on-demand-android.git","clone_url":"https://github.com/klarna/klarna-on-demand-android.git","svn_url":"https://github.com/klarna/klarna-on-demand-android","homepage":null,"size":696,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"klarna:master","ref":"master","sha":"b4ef5b30b333d5dc8c4def2033879e5d90dcb56f","user":{"login":"klarna","id":394540,"avatar_url":"https://avatars.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"repo":{"id":29127570,"name":"klarna-on-demand-android","full_name":"klarna/klarna-on-demand-android","owner":{"login":"klarna","id":394540,"avatar_url":"https://avatars.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/klarna/klarna-on-demand-android","description":"Klarna On Demand SDK for Android","fork":false,"url":"https://api.github.com/repos/klarna/klarna-on-demand-android","forks_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/forks","keys_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/teams","hooks_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/hooks","issue_events_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/events{/number}","events_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/events","assignees_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/assignees{/user}","branches_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/branches{/branch}","tags_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/tags","blobs_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/statuses/{sha}","languages_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/languages","stargazers_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/stargazers","contributors_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/contributors","subscribers_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/subscribers","subscription_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/subscription","commits_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/comments/{number}","contents_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/contents/{+path}","compare_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/merges","archive_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/downloads","issues_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues{/number}","pulls_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls{/number}","milestones_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/milestones{/number}","notifications_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/labels{/name}","releases_url":"https://api.github.com/repos/klarna/klarna-on-demand-android/releases{/id}","created_at":"2015-01-12T09:13:58Z","updated_at":"2015-01-21T13:07:52Z","pushed_at":"2015-01-21T13:07:52Z","git_url":"git://github.com/klarna/klarna-on-demand-android.git","ssh_url":"git@github.com:klarna/klarna-on-demand-android.git","clone_url":"https://github.com/klarna/klarna-on-demand-android.git","svn_url":"https://github.com/klarna/klarna-on-demand-android","homepage":null,"size":696,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6"},"html":{"href":"https://github.com/klarna/klarna-on-demand-android/pull/6"},"issue":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/6"},"comments":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/klarna/klarna-on-demand-android/statuses/ab4e87a6af9762ba7490691694cf84f44050b73c"}}}}