{"action":"created","issue":{"url":"https://api.github.com/repos/named-data/ndncert/issues/3","labels_url":"https://api.github.com/repos/named-data/ndncert/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/named-data/ndncert/issues/3/comments","events_url":"https://api.github.com/repos/named-data/ndncert/issues/3/events","html_url":"https://github.com/named-data/ndncert/issues/3","id":123946052,"number":3,"title":"certificate view: show details","user":{"login":"yoursunny","id":1141273,"avatar_url":"https://avatars.githubusercontent.com/u/1141273?v=3","gravatar_id":"","url":"https://api.github.com/users/yoursunny","html_url":"https://github.com/yoursunny","followers_url":"https://api.github.com/users/yoursunny/followers","following_url":"https://api.github.com/users/yoursunny/following{/other_user}","gists_url":"https://api.github.com/users/yoursunny/gists{/gist_id}","starred_url":"https://api.github.com/users/yoursunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoursunny/subscriptions","organizations_url":"https://api.github.com/users/yoursunny/orgs","repos_url":"https://api.github.com/users/yoursunny/repos","events_url":"https://api.github.com/users/yoursunny/events{/privacy}","received_events_url":"https://api.github.com/users/yoursunny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-26T20:09:57Z","updated_at":"2015-12-27T10:31:21Z","closed_at":null,"body":"The **view certificate** page (`/cert/get/?name=%s&view=1`) should display certificate details, instead of its octets.\r\nDisplaying BASE64-encoded octets of a certificate on an HTML page is useless for a human user, because the octets are not human readable; certificate installations are typically done by `ndnsec-install-cert <uri>` which doesn't need copy&paste.\r\nDisplaying certificate details, including subject name, organization, validity period, are very useful for a human user to understand a certificate."},"comment":{"url":"https://api.github.com/repos/named-data/ndncert/issues/comments/167399605","html_url":"https://github.com/named-data/ndncert/issues/3#issuecomment-167399605","issue_url":"https://api.github.com/repos/named-data/ndncert/issues/3","id":167399605,"user":{"login":"jefft0","id":1999543,"avatar_url":"https://avatars.githubusercontent.com/u/1999543?v=3","gravatar_id":"","url":"https://api.github.com/users/jefft0","html_url":"https://github.com/jefft0","followers_url":"https://api.github.com/users/jefft0/followers","following_url":"https://api.github.com/users/jefft0/following{/other_user}","gists_url":"https://api.github.com/users/jefft0/gists{/gist_id}","starred_url":"https://api.github.com/users/jefft0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefft0/subscriptions","organizations_url":"https://api.github.com/users/jefft0/orgs","repos_url":"https://api.github.com/users/jefft0/repos","events_url":"https://api.github.com/users/jefft0/events{/privacy}","received_events_url":"https://api.github.com/users/jefft0/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T10:31:21Z","updated_at":"2015-12-27T10:31:21Z","body":"This PyNDN integration test shows how to convert base64 data to an IdentityCertificate.\r\nhttps://github.com/named-data/PyNDN2/blob/d57bdc362d1705a0e3a9e4f8ef5a1df7928538c8/tests/integration_tests/test_policy_manager.py#L323\r\n\r\nCould you use that show the fields of the IdentityCertificate? Or just use str(cert)?\r\nhttps://github.com/named-data/PyNDN2/blob/58b9c2e441756ba28d63c461156d4293a08aa117/python/pyndn/security/certificate/certificate.py#L74\r\n "}}