{"action":"created","issue":{"url":"https://api.github.com/repos/scala-js/scala-js-dom/issues/168","labels_url":"https://api.github.com/repos/scala-js/scala-js-dom/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/scala-js/scala-js-dom/issues/168/comments","events_url":"https://api.github.com/repos/scala-js/scala-js-dom/issues/168/events","html_url":"https://github.com/scala-js/scala-js-dom/pull/168","id":115687356,"number":168,"title":"fix for #166 generateKey API not flexible enough","user":{"login":"bblfish","id":124506,"avatar_url":"https://avatars.githubusercontent.com/u/124506?v=3","gravatar_id":"","url":"https://api.github.com/users/bblfish","html_url":"https://github.com/bblfish","followers_url":"https://api.github.com/users/bblfish/followers","following_url":"https://api.github.com/users/bblfish/following{/other_user}","gists_url":"https://api.github.com/users/bblfish/gists{/gist_id}","starred_url":"https://api.github.com/users/bblfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bblfish/subscriptions","organizations_url":"https://api.github.com/users/bblfish/orgs","repos_url":"https://api.github.com/users/bblfish/repos","events_url":"https://api.github.com/users/bblfish/events{/privacy}","received_events_url":"https://api.github.com/users/bblfish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-07T19:32:09Z","updated_at":"2015-11-08T15:30:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scala-js/scala-js-dom/pulls/168","html_url":"https://github.com/scala-js/scala-js-dom/pull/168","diff_url":"https://github.com/scala-js/scala-js-dom/pull/168.diff","patch_url":"https://github.com/scala-js/scala-js-dom/pull/168.patch"},"body":"with these changes it is possible to code the [WebCrypto API signing example](http://www.w3.org/TR/WebCryptoAPI/#examples-signing) in the same style as the example fixing #166 \r\n\r\n```scala\r\n    GlobalCrypto.crypto.subtle.generateKey(\r\n      RsaHashedKeyGenParams(\r\n        2048,\r\n        new Uint8Array(js.Array[Short](1,0,1)), //65537\r\n        HashAlgorithm.`SHA-256`),\r\n      false,\r\n      js.Array(KeyUsages.sign,KeyUsages.verify)\r\n    )\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/scala-js/scala-js-dom/issues/comments/154833796","html_url":"https://github.com/scala-js/scala-js-dom/pull/168#issuecomment-154833796","issue_url":"https://api.github.com/repos/scala-js/scala-js-dom/issues/168","id":154833796,"user":{"login":"mseddon","id":4021991,"avatar_url":"https://avatars.githubusercontent.com/u/4021991?v=3","gravatar_id":"","url":"https://api.github.com/users/mseddon","html_url":"https://github.com/mseddon","followers_url":"https://api.github.com/users/mseddon/followers","following_url":"https://api.github.com/users/mseddon/following{/other_user}","gists_url":"https://api.github.com/users/mseddon/gists{/gist_id}","starred_url":"https://api.github.com/users/mseddon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseddon/subscriptions","organizations_url":"https://api.github.com/users/mseddon/orgs","repos_url":"https://api.github.com/users/mseddon/repos","events_url":"https://api.github.com/users/mseddon/events{/privacy}","received_events_url":"https://api.github.com/users/mseddon/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T15:30:56Z","updated_at":"2015-11-08T15:30:56Z","body":"Other than that (and the branch issue), LGTM."}}