{"action":"created","issue":{"url":"https://api.github.com/repos/Southern/node-x509/issues/10","labels_url":"https://api.github.com/repos/Southern/node-x509/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Southern/node-x509/issues/10/comments","events_url":"https://api.github.com/repos/Southern/node-x509/issues/10/events","html_url":"https://github.com/Southern/node-x509/issues/10","id":26775782,"number":10,"title":"Reading PEM key for the purpose of finding a matching certificate","user":{"login":"Rush","id":115926,"avatar_url":"https://avatars.githubusercontent.com/u/115926?v=3","gravatar_id":"","url":"https://api.github.com/users/Rush","html_url":"https://github.com/Rush","followers_url":"https://api.github.com/users/Rush/followers","following_url":"https://api.github.com/users/Rush/following{/other_user}","gists_url":"https://api.github.com/users/Rush/gists{/gist_id}","starred_url":"https://api.github.com/users/Rush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rush/subscriptions","organizations_url":"https://api.github.com/users/Rush/orgs","repos_url":"https://api.github.com/users/Rush/repos","events_url":"https://api.github.com/users/Rush/events{/privacy}","received_events_url":"https://api.github.com/users/Rush/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-02-03T00:34:56Z","updated_at":"2015-11-03T05:17:22Z","closed_at":null,"body":"I would like to ask here for RFC.\r\nhttps://github.com/CodeCharmLtd/node-x509/tree/parse-pem\r\nI have added a method: `persePem` which would return an object with fields `publicModulus` and `publicExponent`. Same fields have been added to `parseCert`. \r\nIf both cert and pem have the same values - they are a matching pair. I think this belong to `node-x509` quite well but I would like to get a second opinion and before I do a second pull request the first one needs to get finished.\r\n"},"comment":{"url":"https://api.github.com/repos/Southern/node-x509/issues/comments/153242315","html_url":"https://github.com/Southern/node-x509/issues/10#issuecomment-153242315","issue_url":"https://api.github.com/repos/Southern/node-x509/issues/10","id":153242315,"user":{"login":"Southern","id":887133,"avatar_url":"https://avatars.githubusercontent.com/u/887133?v=3","gravatar_id":"","url":"https://api.github.com/users/Southern","html_url":"https://github.com/Southern","followers_url":"https://api.github.com/users/Southern/followers","following_url":"https://api.github.com/users/Southern/following{/other_user}","gists_url":"https://api.github.com/users/Southern/gists{/gist_id}","starred_url":"https://api.github.com/users/Southern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southern/subscriptions","organizations_url":"https://api.github.com/users/Southern/orgs","repos_url":"https://api.github.com/users/Southern/repos","events_url":"https://api.github.com/users/Southern/events{/privacy}","received_events_url":"https://api.github.com/users/Southern/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T05:17:22Z","updated_at":"2015-11-03T05:17:22Z","body":"@Rush Sorry that I haven't been around in a while. Looks like we're exposing the modulus and exponent as `publicKey.n` and `publicKey.e` now. Is there any other problem related to this issue?"}}