{"id":502,"date":"2011-04-30T23:55:44","date_gmt":"2011-05-01T06:55:44","guid":{"rendered":"https:\/\/self-issued.info\/?p=502"},"modified":"2012-09-18T16:01:09","modified_gmt":"2012-09-18T23:01:09","slug":"json-web-key-jwk-specification","status":"publish","type":"post","link":"https:\/\/self-issued.info\/?p=502","title":{"rendered":"JSON Web Key (JWK) Specification"},"content":{"rendered":"<p>I&#8217;ve posted the <a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-key.html\">JSON Web Key (JWK) specification<\/a> for representing public keys as JSON objects based on the <a href=\"https:\/\/self-issued.info\/?p=390\">decisions made at the last IIW<\/a>.  The introduction to the spec reads:<\/p>\n<blockquote><p>\nA JSON Web Key (JWK) is a JSON data structure that represents a set of public keys as a JSON object. The JWK format is used to represent bare keys; representing certificate chains is an explicit non-goal of this specification. JSON Web Keys are referenced in JSON Web Signatures (JWSs) using the jku (JSON Key URL) header parameter.\n<\/p><\/blockquote>\n<p>An example from the spec is:<\/p>\n<p><code>{\"keyvalues\":<br \/>\n&nbsp;&nbsp;[<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;{\"algorithm\":\"ECDSA\",<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"curve\":\"P-256\",<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"x\":\"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4\",<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"y\":\"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM\",<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"keyid\":\"1\"},<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;{\"algorithm\":\"RSA\",<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"modulus\": \"0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw\",<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"exponent\":\"AQAB\",<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"keyid\":\"2011-04-29\"}<br \/>\n&nbsp;&nbsp;]<br \/>\n}<\/code><\/p>\n<p>The specification is available at these locations:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.ietf.org\/internet-drafts\/draft-jones-json-web-key-00.txt\">http:\/\/www.ietf.org\/internet-drafts\/draft-jones-json-web-key-00.txt<\/a><\/li>\n<li><a href=\"http:\/\/www.ietf.org\/internet-drafts\/draft-jones-json-web-key-00.xml\">http:\/\/www.ietf.org\/internet-drafts\/draft-jones-json-web-key-00.xml<\/a><\/li>\n<li><a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-key-00.html\">https:\/\/self-issued.info\/docs\/draft-jones-json-web-key-00.html<\/a><\/li>\n<li><a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-key-00.txt\">https:\/\/self-issued.info\/docs\/draft-jones-json-web-key-00.txt<\/a><\/li>\n<li><a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-key-00.xml\">https:\/\/self-issued.info\/docs\/draft-jones-json-web-key-00.xml<\/a><\/li>\n<li><a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-key.html\">https:\/\/self-issued.info\/docs\/draft-jones-json-web-key.html<\/a> (will point to new versions as they are posted)<\/li>\n<li><a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-key.txt\">https:\/\/self-issued.info\/docs\/draft-jones-json-web-key.txt<\/a> (will point to new versions as they are posted)<\/li>\n<li><a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-key.xml\">https:\/\/self-issued.info\/docs\/draft-jones-json-web-key.xml<\/a> (will point to new versions as they are posted)<\/li>\n<li><a href=\"http:\/\/svn.openid.net\/repos\/specifications\/json_web_key\/1.0\/\">http:\/\/svn.openid.net\/repos\/specifications\/json_web_key\/1.0\/<\/a> (Subversion repository, with html, txt, and html versions available)<\/li>\n<\/ul>\n<p>I also updated the description of the <a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-signature.html\">JSON Web Signature (JWS)<\/a> header parameter &#8220;jku&#8221; (JSON Key URL) to reference the JWK spec in <a href=\"https:\/\/self-issued.info\/docs\/draft-jones-json-web-signature-02.html\">draft -02<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve posted the JSON Web Key (JWK) specification for representing public keys as JSON objects based on the decisions made at the last IIW. The introduction to the spec reads: A JSON Web Key (JWK) is a JSON data structure that represents a set of public keys as a JSON object. The JWK format is [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,27,25],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-cryptography","category-json","category-specifications"],"_links":{"self":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=502"}],"version-history":[{"count":5,"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":860,"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions\/860"}],"wp:attachment":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}