Good point.


On Fri, Feb 7, 2014 at 2:03 PM, Alex Stapleton <notifications@github.com>wrote:

> In docs/hazmat/backends/interfaces.rst:
>
> > @@ -191,3 +191,22 @@ A specific ``backend`` may provide one or more of these interfaces.
> >              the derived key. This is typically a password.
> >
> >          :return bytes: Derived key.
> > +
> > +
> > +.. class:: RSABackend
> > +
> > +    .. versionadded:: 0.2
> > +
> > +    A backend with methods for using RSA.
> > +
> > +    .. method:: generate_rsa_private_key(public_exponent, bit_length)
> > +
> > +        :param int public_exponent: The public exponent of the new key.
> > +            Often one of the small Fermat primes 3, 5, 17, 257 or 65537.
>
> Don't we normally put that sort of normative advice in the actual
> implementation? Which I guess would end up being RSAPrivateKey.generatein this case.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/577/files#r9557087>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084