autodoc.git / traditional.xml

version» Context lines:

autodoc.git/traditional.xml:142519:   </text></group><group><seealso/><text><p><ref resolved='predef::Web.encode_jwt'>encode_jwt()</ref>, <ref resolved='predef::Web.decode_jws'>decode_jws()</ref>, <rfc>7519:4</rfc></p>   </text></group></doc>   <method name='decode_jwt'>   <arguments><argument name='sign'><type><or><array><valuetype><or><object>Crypto.Sign.State</object><object resolved='predef::Nettle.MAC.State'>Crypto.MAC.State</object></or></valuetype></array><object>Crypto.Sign.State</object><object resolved='predef::Nettle.MAC.State'>Crypto.MAC.State</object></or></type></argument><argument name='jwt'><type><string><min>0</min><max>127</max></string></type></argument></arguments>   <returntype><mapping><indextype><string/></indextype><valuetype><or><string/><int/></or></valuetype></mapping></returntype>   </method>   </docgroup>   <docgroup homogen-name='encode_jws' homogen-type='method'><doc><text><p>Encode a JSON Web Signature (JWS).</p>   </text><group><param name='sign'/><text><p>The asymetric private or MAC key to use for signing the result.</p>   </text></group><group><param name='tbs'/><text><p>The value to sign.</p> - </text></group><group><param name='content_type'/><text><p>The content type of <ref resolved='predef::Web.encode_jws.tbs'>tbs</ref>.</p> + </text></group><group><param name='media_type'/><text><p>The media type of <ref resolved='predef::Web.encode_jws.tbs'>tbs</ref>, cf <rfc>7515:4.1.9</rfc>.</p>   </text></group><group><returns/><text><p>Returns <expr>0</expr> (zero) on encoding failure (usually    that <ref resolved='predef::Web.encode_jws.sign'>sign</ref> doesn't support JWS.</p>   <p> Returns a corresponding JWS on success.</p>   </text></group><group><seealso/><text><p><ref resolved='predef::Web.decode_jwt'>decode_jwt()</ref>, <rfc>7515</rfc></p>   </text></group></doc>   <method name='encode_jws'> - <arguments><argument name='sign'><type><or><object>Crypto.Sign.State</object><object resolved='predef::Nettle.MAC.State'>Crypto.MAC.State</object></or></type></argument><argument name='content_type'><type><string><min>0</min><max>127</max></string></type></argument><argument name='tbs'><type><mixed/></type></argument></arguments> + <arguments><argument name='sign'><type><or><object>Crypto.Sign.State</object><object resolved='predef::Nettle.MAC.State'>Crypto.MAC.State</object></or></type></argument><argument name='tbs'><type><mixed/></type></argument><argument name='media_type'><type><or><string><min>0</min><max>127</max></string><void/></or></type></argument></arguments>   <returntype><string><min>0</min><max>127</max></string></returntype>   </method>   </docgroup>   <docgroup homogen-name='encode_jwt' homogen-type='method'><doc><text><p>Encode a JSON Web Token (JWT).</p>   </text><group><param name='sign'/><text><p>The asymetric private or MAC key to use for signing the result.</p>   </text></group><group><param name='claims'/><text><p>The set of claims for the token. See <rfc>7519:4</rfc>.</p>   </text></group><group><returns/><text><p>Returns <expr>0</expr> (zero) on encoding failure (usually    that <ref resolved='predef::Web.encode_jwt.sign'>sign</ref> doesn't support JWS.</p>   <p> Returns a corresponding JWT on success.</p>   </text></group><group><note/><text><p>The claim <expr>"iat"</expr> (<rfc>7519:4.1.6</rfc> is added unconditionally,