How would you handle JWK and OpenSSH metadata for public keys in that API? 
What about JWK private key metadata like key_ops?



On 2 April 2014 21:05:44 David Reid <notifications@github.com> wrote:

> > @@ -0,0 +1,53 @@
> > +.. hazmat::
> > +
> > +Key Serialization
> > +=================
> > +
> > +.. currentmodule:: cryptography.hazmat.primitives.serialization
> > +
> > +There are several common schemes for serializing asymmetric private and 
> public
> > +keys to bytes. They generally support encryption of private keys and 
> additional
> > +key metadata.
> > +
> > +
> > +.. class:: OpenSSLPrivateKey(private_key)
>
> Just some functions sounds like a good start. You can always call some 
> functions from some higher level interface which constructs some objects.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/pyca/cryptography/pull/627/files#r11224693