{"action":"created","comment":{"url":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/comments/22513932","id":22513932,"diff_hunk":"@@ -0,0 +1,50 @@\n+/*\n+ * Copyright (c) 2015 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.identity.certificateauthority.model;\n+\n+import java.util.Date;\n+\n+/**\n+ * Represents a revoked certificate\n+ */\n+public class RevokedCertificate {\n+\n+    private String serialNo;\n+    private Date revokedDate;\n+    private int reason;\n+\n+    public RevokedCertificate(String serialNo, Date revokedDate, int reason) {\n+        this.serialNo = serialNo;\n+        this.revokedDate = (Date) revokedDate.clone();\n+        this.reason = reason;\n+    }\n+\n+    public String getSerialNo() {\n+        return serialNo;\n+","path":"components/identity/org.wso2.carbon.identity.certificateauthority/src/main/java/org/wso2/carbon/identity/certificateauthority/model/RevokedCertificate.java","position":40,"original_position":40,"commit_id":"ab54913f19f548c3c803b8dfa74d5fdb3fb86d4b","original_commit_id":"ab54913f19f548c3c803b8dfa74d5fdb3fb86d4b","user":{"login":"hasinthaindrajee","id":3666100,"avatar_url":"https://avatars.githubusercontent.com/u/3666100?v=3","gravatar_id":"","url":"https://api.github.com/users/hasinthaindrajee","html_url":"https://github.com/hasinthaindrajee","followers_url":"https://api.github.com/users/hasinthaindrajee/followers","following_url":"https://api.github.com/users/hasinthaindrajee/following{/other_user}","gists_url":"https://api.github.com/users/hasinthaindrajee/gists{/gist_id}","starred_url":"https://api.github.com/users/hasinthaindrajee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasinthaindrajee/subscriptions","organizations_url":"https://api.github.com/users/hasinthaindrajee/orgs","repos_url":"https://api.github.com/users/hasinthaindrajee/repos","events_url":"https://api.github.com/users/hasinthaindrajee/events{/privacy}","received_events_url":"https://api.github.com/users/hasinthaindrajee/received_events","type":"User","site_admin":false},"body":"Remove unnecessary new lines","created_at":"2015-01-06T08:58:11Z","updated_at":"2015-01-06T08:58:11Z","html_url":"https://github.com/wso2-dev/carbon-identity/pull/47#discussion_r22513932","pull_request_url":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/comments/22513932"},"html":{"href":"https://github.com/wso2-dev/carbon-identity/pull/47#discussion_r22513932"},"pull_request":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47","id":26457054,"html_url":"https://github.com/wso2-dev/carbon-identity/pull/47","diff_url":"https://github.com/wso2-dev/carbon-identity/pull/47.diff","patch_url":"https://github.com/wso2-dev/carbon-identity/pull/47.patch","issue_url":"https://api.github.com/repos/wso2-dev/carbon-identity/issues/47","number":47,"state":"open","locked":false,"title":"Adding CA components","user":{"login":"pulasthi7","id":1415573,"avatar_url":"https://avatars.githubusercontent.com/u/1415573?v=3","gravatar_id":"","url":"https://api.github.com/users/pulasthi7","html_url":"https://github.com/pulasthi7","followers_url":"https://api.github.com/users/pulasthi7/followers","following_url":"https://api.github.com/users/pulasthi7/following{/other_user}","gists_url":"https://api.github.com/users/pulasthi7/gists{/gist_id}","starred_url":"https://api.github.com/users/pulasthi7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulasthi7/subscriptions","organizations_url":"https://api.github.com/users/pulasthi7/orgs","repos_url":"https://api.github.com/users/pulasthi7/repos","events_url":"https://api.github.com/users/pulasthi7/events{/privacy}","received_events_url":"https://api.github.com/users/pulasthi7/received_events","type":"User","site_admin":false},"body":"Components for Certificate Authority","created_at":"2014-12-22T13:43:30Z","updated_at":"2015-01-06T08:58:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac8b0eb08505919721c4da2b4e4803b204b24a2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47/commits","review_comments_url":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47/comments","review_comment_url":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wso2-dev/carbon-identity/issues/47/comments","statuses_url":"https://api.github.com/repos/wso2-dev/carbon-identity/statuses/ab54913f19f548c3c803b8dfa74d5fdb3fb86d4b","head":{"label":"pulasthi7:feature/ca-component","ref":"feature/ca-component","sha":"ab54913f19f548c3c803b8dfa74d5fdb3fb86d4b","user":{"login":"pulasthi7","id":1415573,"avatar_url":"https://avatars.githubusercontent.com/u/1415573?v=3","gravatar_id":"","url":"https://api.github.com/users/pulasthi7","html_url":"https://github.com/pulasthi7","followers_url":"https://api.github.com/users/pulasthi7/followers","following_url":"https://api.github.com/users/pulasthi7/following{/other_user}","gists_url":"https://api.github.com/users/pulasthi7/gists{/gist_id}","starred_url":"https://api.github.com/users/pulasthi7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulasthi7/subscriptions","organizations_url":"https://api.github.com/users/pulasthi7/orgs","repos_url":"https://api.github.com/users/pulasthi7/repos","events_url":"https://api.github.com/users/pulasthi7/events{/privacy}","received_events_url":"https://api.github.com/users/pulasthi7/received_events","type":"User","site_admin":false},"repo":{"id":21375548,"name":"carbon-identity","full_name":"pulasthi7/carbon-identity","owner":{"login":"pulasthi7","id":1415573,"avatar_url":"https://avatars.githubusercontent.com/u/1415573?v=3","gravatar_id":"","url":"https://api.github.com/users/pulasthi7","html_url":"https://github.com/pulasthi7","followers_url":"https://api.github.com/users/pulasthi7/followers","following_url":"https://api.github.com/users/pulasthi7/following{/other_user}","gists_url":"https://api.github.com/users/pulasthi7/gists{/gist_id}","starred_url":"https://api.github.com/users/pulasthi7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulasthi7/subscriptions","organizations_url":"https://api.github.com/users/pulasthi7/orgs","repos_url":"https://api.github.com/users/pulasthi7/repos","events_url":"https://api.github.com/users/pulasthi7/events{/privacy}","received_events_url":"https://api.github.com/users/pulasthi7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pulasthi7/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/pulasthi7/carbon-identity","forks_url":"https://api.github.com/repos/pulasthi7/carbon-identity/forks","keys_url":"https://api.github.com/repos/pulasthi7/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulasthi7/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulasthi7/carbon-identity/teams","hooks_url":"https://api.github.com/repos/pulasthi7/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/pulasthi7/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/pulasthi7/carbon-identity/events","assignees_url":"https://api.github.com/repos/pulasthi7/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/pulasthi7/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/pulasthi7/carbon-identity/tags","blobs_url":"https://api.github.com/repos/pulasthi7/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulasthi7/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulasthi7/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulasthi7/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulasthi7/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/pulasthi7/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/pulasthi7/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/pulasthi7/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/pulasthi7/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/pulasthi7/carbon-identity/subscription","commits_url":"https://api.github.com/repos/pulasthi7/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulasthi7/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulasthi7/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulasthi7/carbon-identity/issues/comments/{number}","contents_url":"https://api.github.com/repos/pulasthi7/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/pulasthi7/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulasthi7/carbon-identity/merges","archive_url":"https://api.github.com/repos/pulasthi7/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulasthi7/carbon-identity/downloads","issues_url":"https://api.github.com/repos/pulasthi7/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/pulasthi7/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/pulasthi7/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/pulasthi7/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulasthi7/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/pulasthi7/carbon-identity/releases{/id}","created_at":"2014-07-01T04:50:38Z","updated_at":"2014-12-09T12:59:40Z","pushed_at":"2015-01-05T13:52:12Z","git_url":"git://github.com/pulasthi7/carbon-identity.git","ssh_url":"git@github.com:pulasthi7/carbon-identity.git","clone_url":"https://github.com/pulasthi7/carbon-identity.git","svn_url":"https://github.com/pulasthi7/carbon-identity","homepage":null,"size":15538,"stargazers_count":0,"watchers_count":0,"language":"Java","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-dev:master","ref":"master","sha":"045bc7f7d4483825d0f169f61cdd2e2a8ef89725","user":{"login":"wso2-dev","id":6744733,"avatar_url":"https://avatars.githubusercontent.com/u/6744733?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-dev","html_url":"https://github.com/wso2-dev","followers_url":"https://api.github.com/users/wso2-dev/followers","following_url":"https://api.github.com/users/wso2-dev/following{/other_user}","gists_url":"https://api.github.com/users/wso2-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-dev/subscriptions","organizations_url":"https://api.github.com/users/wso2-dev/orgs","repos_url":"https://api.github.com/users/wso2-dev/repos","events_url":"https://api.github.com/users/wso2-dev/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":20436898,"name":"carbon-identity","full_name":"wso2-dev/carbon-identity","owner":{"login":"wso2-dev","id":6744733,"avatar_url":"https://avatars.githubusercontent.com/u/6744733?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-dev","html_url":"https://github.com/wso2-dev","followers_url":"https://api.github.com/users/wso2-dev/followers","following_url":"https://api.github.com/users/wso2-dev/following{/other_user}","gists_url":"https://api.github.com/users/wso2-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-dev/subscriptions","organizations_url":"https://api.github.com/users/wso2-dev/orgs","repos_url":"https://api.github.com/users/wso2-dev/repos","events_url":"https://api.github.com/users/wso2-dev/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2-dev/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/wso2-dev/carbon-identity","forks_url":"https://api.github.com/repos/wso2-dev/carbon-identity/forks","keys_url":"https://api.github.com/repos/wso2-dev/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2-dev/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2-dev/carbon-identity/teams","hooks_url":"https://api.github.com/repos/wso2-dev/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/wso2-dev/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/wso2-dev/carbon-identity/events","assignees_url":"https://api.github.com/repos/wso2-dev/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/wso2-dev/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/wso2-dev/carbon-identity/tags","blobs_url":"https://api.github.com/repos/wso2-dev/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2-dev/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2-dev/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2-dev/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2-dev/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2-dev/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/wso2-dev/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/wso2-dev/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/wso2-dev/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/wso2-dev/carbon-identity/subscription","commits_url":"https://api.github.com/repos/wso2-dev/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2-dev/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2-dev/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2-dev/carbon-identity/issues/comments/{number}","contents_url":"https://api.github.com/repos/wso2-dev/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/wso2-dev/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2-dev/carbon-identity/merges","archive_url":"https://api.github.com/repos/wso2-dev/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2-dev/carbon-identity/downloads","issues_url":"https://api.github.com/repos/wso2-dev/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2-dev/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2-dev/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2-dev/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/wso2-dev/carbon-identity/releases{/id}","created_at":"2014-06-03T09:28:43Z","updated_at":"2014-12-17T05:33:15Z","pushed_at":"2014-12-17T05:33:15Z","git_url":"git://github.com/wso2-dev/carbon-identity.git","ssh_url":"git@github.com:wso2-dev/carbon-identity.git","clone_url":"https://github.com/wso2-dev/carbon-identity.git","svn_url":"https://github.com/wso2-dev/carbon-identity","homepage":"","size":17691,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":19,"forks":34,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47"},"html":{"href":"https://github.com/wso2-dev/carbon-identity/pull/47"},"issue":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/issues/47"},"comments":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/wso2-dev/carbon-identity/statuses/ab54913f19f548c3c803b8dfa74d5fdb3fb86d4b"}}}}