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.
Err, what do you mean it isn't PEM?

On Sun Dec 28 2014 at 9:10:29 AM Paul Kehrer <notifications@github.com>
wrote:

> In docs/hazmat/primitives/interfaces.rst
> <https://github.com/pyca/cryptography/pull/1503#discussion-diff-22298943>:
>
> > +    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
>
> So dump rather than dump_pem and dump_der. That may make some sense since
> an OpenSSH public key format really isn't PEM...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pyca/cryptography/pull/1503/files#r22298943>.
>