Start moving everything to the new API

It won't actually mention PKCS8 or anything in the header. The main 
difference is the inclusion of the RSA/DSA/ECDSA bit in the header. They 
both mention public vs private though.


On 8 September 2014 21:59:28 Alex Gaynor <notifications@github.com> wrote:

> > @@ -54,6 +54,43 @@ methods.
> >          ... else:
> >          ...     raise TypeError
> >
> > +PEM
> > +~~~
> > +
> > +PEM is an encapsulation format, meaning keys in it can actually be any 
> one of
> > +several formats, however these are all self-identifying, so you don't 
> need to
> > +worry about this detail. PEM keys are recognizable because they all 
> begin with
> > +``-----BEGIN {format}-----`` and end with ``-----END {format}-----``.
>
> Well, both I guess, it can both be DSA or RSA, but it can also be PKCS8 or
> traditional OpenSSL, and you don't need to care; can you think of a better
> wording?
>
>
> On Mon, Sep 8, 2014 at 1:58 PM, Alex Stapleton <notifications@github.com>
> wrote:
>
> > In docs/hazmat/primitives/asymmetric/serialization.rst:
> >
> > > @@ -54,6 +54,43 @@ methods.
> > >          ... else:
> > >          ...     raise TypeError
> > >
> > > +PEM
> > > +~~~
> > > +
> > > +PEM is an encapsulation format, meaning keys in it can actually be any 
> one of
> > > +several formats, however these are all self-identifying, so you don't 
> need to
> > > +worry about this detail. PEM keys are recognizable because they all 
> begin with
> > > +``-----BEGIN {format}-----`` and end with ``-----END {format}-----``.
> >
> > "key type" instead of "format"?
> >
> > —
> > Reply to this email directly or view it on GitHub
> > <https://github.com/pyca/cryptography/pull/1326/files#r17266578>.
> >
>
>
>
> --
> "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
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/pyca/cryptography/pull/1326/files#r17266643