autodoc.git / traditional.xml

version» Context lines:

autodoc.git/traditional.xml:108799:   </text></group><group><returns/><text><p>Returns the signature on success, and <expr>0</expr> (zero)    on failure (typically that the hash + salt combo is too    large for the RSA modulo).</p>   </text></group><group><seealso/><text><p><ref resolved='predef::Crypto.RSA.State.pkcs_verify'>pkcs_verify()</ref>, <ref>salt_size()</ref>, <rfc>7515</rfc></p>   </text></group></doc>   <method name='jose_sign'>   <arguments><argument name='message'><type><string><min>0</min><max>255</max></string></type></argument><argument name='headers'><type><or><mapping><indextype><string><min>0</min><max>127</max></string></indextype><valuetype><or><string><min>0</min><max>127</max></string><int/></or></valuetype></mapping><void/></or></type></argument><argument name='h'><type><or><object resolved='predef::Crypto.Hash'>.Hash</object><void/></or></type></argument></arguments>   <returntype><string><min>0</min><max>127</max></string></returntype>   </method>   </docgroup> + <docgroup homogen-name='jwk' homogen-type='method'><doc><text><p>Generate a JWK-style mapping of the object.</p> + </text><group><param name='private_key'/><text><p>If true, include the private key in the result. +  Note that if the private key isn't known, the function +  will fail (and return <expr>0</expr>).</p> + </text></group><group><returns/><text><p>Returns a JWK-style mapping on success, and <expr>0</expr> (zero) +  on failure.</p> + </text></group><group><seealso/><text><p><ref resolved='predef::Crypto.RSA.State.create'>create()</ref>, <ref resolved='predef::Web.encode_jwk'>Web.encode_jwk()</ref>, <rfc>7517:4</rfc>, <rfc>7518:6.3</rfc></p> + </text></group></doc> + <method name='jwk'> + <arguments><argument name='private_key'><type><or><int><min>0</min><max>1</max></int><void/></or></type></argument></arguments> + <returntype><mapping><indextype><string><min>0</min><max>127</max></string></indextype><valuetype><string><min>0</min><max>127</max></string></valuetype></mapping></returntype> + </method> + </docgroup>   <docgroup homogen-name='key_size' homogen-type='method'><doc><text><p>Returns the size of the key in terms of number of bits.</p>   </text></doc>   <method name='key_size'>   <arguments/>   <returntype><int><min>0</min><max/></int></returntype>   </method>   </docgroup>   <docgroup homogen-name='name' homogen-type='method'><doc><text><p>Returns the string <expr>"RSA"</expr>.</p>   </text></doc>   <method name='name'>