Support for traditional OpenSSL and PKCS8 RSA private key serialization

This temporarily uses the backend to do it until the alternate approach is ready. DSA/ECDSA and public key support will follow if this is deemed worthy.
I feel like needing to type "NoEncryption" for public keys is perhaps
overly burdensome?

On Sat Dec 27 2014 at 7:45:44 AM Paul Kehrer <notifications@github.com>
wrote:

> In docs/hazmat/primitives/interfaces.rst
> <https://github.com/pyca/cryptography/pull/1503#discussion-diff-22293033>:
>
> > +    Extends :class:`RSAPrivateKey`. Deprecated in favor of
> > +    :class:`RSAPrivateKeyWithSerialization`.
> > +
> > +    .. method:: private_numbers()
> > +
> > +        Create a
> > +        :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers`
> > +        object.
> > +
> > +        :returns: An
> > +            :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers`
> > +            instance.
> > +
> > +.. class:: RSAPrivateKeyWithSerialization
> > +
> > +    .. versionadded:: 0.7
>
> 0.8 again!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pyca/cryptography/pull/1503/files#r22293033>.
>