{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments/49942807","id":49942807,"diff_hunk":"@@ -0,0 +1,33 @@\n+/*\n+*  Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+*\n+*  WSO2 Inc. licenses this file to you under the Apache License,\n+*  Version 2.0 (the \"License\"); you may not use this file except\n+*  in compliance with the License.\n+*  You may obtain a copy of the License at\n+*\n+*    http://www.apache.org/licenses/LICENSE-2.0\n+*\n+* Unless required by applicable law or agreed to in writing,\n+* software distributed under the License is distributed on an\n+* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+* KIND, either express or implied.  See the License for the\n+* specific language governing permissions and limitations\n+* under the License.\n+*/\n+\n+package org.wso2.carbon.hostobjects.sso.internal.util;\n+\n+import java.security.PrivateKey;\n+import java.security.PublicKey;\n+import java.security.cert.X509Certificate;\n+\n+public interface SSOAgentX509Credential {\n+\n+    PublicKey getPublicKey() throws Exception;\n+\n+    PrivateKey getPrivateKey() throws Exception;\n+\n+    X509Certificate getEntityCertificate() throws Exception;","path":"components/sso-hostobject/org.wso2.carbon.hostobjects.sso/src/main/java/org/wso2/carbon/hostobjects/sso/internal/util/SSOAgentX509Credential.java","position":31,"original_position":31,"commit_id":"b9afbbfea42348aa66fa4b480b4a4477823b7d18","original_commit_id":"b9afbbfea42348aa66fa4b480b4a4477823b7d18","user":{"login":"malinthaprasan","id":1591316,"avatar_url":"https://avatars.githubusercontent.com/u/1591316?v=3","gravatar_id":"","url":"https://api.github.com/users/malinthaprasan","html_url":"https://github.com/malinthaprasan","followers_url":"https://api.github.com/users/malinthaprasan/followers","following_url":"https://api.github.com/users/malinthaprasan/following{/other_user}","gists_url":"https://api.github.com/users/malinthaprasan/gists{/gist_id}","starred_url":"https://api.github.com/users/malinthaprasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinthaprasan/subscriptions","organizations_url":"https://api.github.com/users/malinthaprasan/orgs","repos_url":"https://api.github.com/users/malinthaprasan/repos","events_url":"https://api.github.com/users/malinthaprasan/events{/privacy}","received_events_url":"https://api.github.com/users/malinthaprasan/received_events","type":"User","site_admin":false},"body":"Removed unnecessary throwing generic exception in #1528 (c6d6cb2)","created_at":"2016-01-17T07:47:35Z","updated_at":"2016-01-17T07:47:35Z","html_url":"https://github.com/wso2/carbon-apimgt/pull/693#discussion_r49942807","pull_request_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments/49942807"},"html":{"href":"https://github.com/wso2/carbon-apimgt/pull/693#discussion_r49942807"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693","id":37500160,"html_url":"https://github.com/wso2/carbon-apimgt/pull/693","diff_url":"https://github.com/wso2/carbon-apimgt/pull/693.diff","patch_url":"https://github.com/wso2/carbon-apimgt/pull/693.patch","issue_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/693","number":693,"state":"closed","locked":false,"title":"Sigining requests for APIMANAGER-3418","user":{"login":"malinthaprasan","id":1591316,"avatar_url":"https://avatars.githubusercontent.com/u/1591316?v=3","gravatar_id":"","url":"https://api.github.com/users/malinthaprasan","html_url":"https://github.com/malinthaprasan","followers_url":"https://api.github.com/users/malinthaprasan/followers","following_url":"https://api.github.com/users/malinthaprasan/following{/other_user}","gists_url":"https://api.github.com/users/malinthaprasan/gists{/gist_id}","starred_url":"https://api.github.com/users/malinthaprasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinthaprasan/subscriptions","organizations_url":"https://api.github.com/users/malinthaprasan/orgs","repos_url":"https://api.github.com/users/malinthaprasan/repos","events_url":"https://api.github.com/users/malinthaprasan/events{/privacy}","received_events_url":"https://api.github.com/users/malinthaprasan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-11T19:33:42Z","updated_at":"2016-01-17T07:47:35Z","closed_at":"2015-06-11T19:38:21Z","merged_at":"2015-06-11T19:38:21Z","merge_commit_sha":"83b16914aed0ee8e3983dda2cbdf1eb8e88f8e22","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/693/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/b9afbbfea42348aa66fa4b480b4a4477823b7d18","head":{"label":"malinthaprasan:release-1.9.0-2","ref":"release-1.9.0-2","sha":"b9afbbfea42348aa66fa4b480b4a4477823b7d18","user":{"login":"malinthaprasan","id":1591316,"avatar_url":"https://avatars.githubusercontent.com/u/1591316?v=3","gravatar_id":"","url":"https://api.github.com/users/malinthaprasan","html_url":"https://github.com/malinthaprasan","followers_url":"https://api.github.com/users/malinthaprasan/followers","following_url":"https://api.github.com/users/malinthaprasan/following{/other_user}","gists_url":"https://api.github.com/users/malinthaprasan/gists{/gist_id}","starred_url":"https://api.github.com/users/malinthaprasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinthaprasan/subscriptions","organizations_url":"https://api.github.com/users/malinthaprasan/orgs","repos_url":"https://api.github.com/users/malinthaprasan/repos","events_url":"https://api.github.com/users/malinthaprasan/events{/privacy}","received_events_url":"https://api.github.com/users/malinthaprasan/received_events","type":"User","site_admin":false},"repo":{"id":35818744,"name":"carbon-apimgt","full_name":"malinthaprasan/carbon-apimgt","owner":{"login":"malinthaprasan","id":1591316,"avatar_url":"https://avatars.githubusercontent.com/u/1591316?v=3","gravatar_id":"","url":"https://api.github.com/users/malinthaprasan","html_url":"https://github.com/malinthaprasan","followers_url":"https://api.github.com/users/malinthaprasan/followers","following_url":"https://api.github.com/users/malinthaprasan/following{/other_user}","gists_url":"https://api.github.com/users/malinthaprasan/gists{/gist_id}","starred_url":"https://api.github.com/users/malinthaprasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinthaprasan/subscriptions","organizations_url":"https://api.github.com/users/malinthaprasan/orgs","repos_url":"https://api.github.com/users/malinthaprasan/repos","events_url":"https://api.github.com/users/malinthaprasan/events{/privacy}","received_events_url":"https://api.github.com/users/malinthaprasan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/malinthaprasan/carbon-apimgt","description":"","fork":true,"url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt","forks_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/forks","keys_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/teams","hooks_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/hooks","issue_events_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/issues/events{/number}","events_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/events","assignees_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/assignees{/user}","branches_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/branches{/branch}","tags_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/tags","blobs_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/statuses/{sha}","languages_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/languages","stargazers_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/stargazers","contributors_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/contributors","subscribers_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/subscribers","subscription_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/subscription","commits_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/contents/{+path}","compare_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/merges","archive_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/downloads","issues_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/issues{/number}","pulls_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/pulls{/number}","milestones_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/milestones{/number}","notifications_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/labels{/name}","releases_url":"https://api.github.com/repos/malinthaprasan/carbon-apimgt/releases{/id}","created_at":"2015-05-18T13:12:51Z","updated_at":"2016-01-14T03:53:37Z","pushed_at":"2016-01-17T05:56:02Z","git_url":"git://github.com/malinthaprasan/carbon-apimgt.git","ssh_url":"git@github.com:malinthaprasan/carbon-apimgt.git","clone_url":"https://github.com/malinthaprasan/carbon-apimgt.git","svn_url":"https://github.com/malinthaprasan/carbon-apimgt","homepage":null,"size":60018,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:release-1.9.0","ref":"release-1.9.0","sha":"e54cc961ca2d640b725d9b69b6fd917dfdf04744","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":17201744,"name":"carbon-apimgt","full_name":"wso2/carbon-apimgt","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-apimgt","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-apimgt","forks_url":"https://api.github.com/repos/wso2/carbon-apimgt/forks","keys_url":"https://api.github.com/repos/wso2/carbon-apimgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-apimgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-apimgt/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-apimgt/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-apimgt/events","assignees_url":"https://api.github.com/repos/wso2/carbon-apimgt/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-apimgt/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-apimgt/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-apimgt/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-apimgt/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-apimgt/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-apimgt/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-apimgt/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-apimgt/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-apimgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-apimgt/merges","archive_url":"https://api.github.com/repos/wso2/carbon-apimgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-apimgt/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-apimgt/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-apimgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-apimgt/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-apimgt/releases{/id}","created_at":"2014-02-26T06:46:48Z","updated_at":"2016-01-11T04:46:27Z","pushed_at":"2016-01-17T05:56:32Z","git_url":"git://github.com/wso2/carbon-apimgt.git","ssh_url":"git@github.com:wso2/carbon-apimgt.git","clone_url":"https://github.com/wso2/carbon-apimgt.git","svn_url":"https://github.com/wso2/carbon-apimgt","homepage":null,"size":67384,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":117,"mirror_url":null,"open_issues_count":9,"forks":117,"open_issues":9,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693"},"html":{"href":"https://github.com/wso2/carbon-apimgt/pull/693"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/issues/693"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/issues/693/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/693/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/b9afbbfea42348aa66fa4b480b4a4477823b7d18"}}}}