pyca/cryptography — pull request #1179 by reaperhulk (2014-06-25 14:44:23+00:00)
Title: DSA Opaque Keys for OpenSSL

Opaque implementation including WithNumbers support. PRs left after this will be deprecation (backend methods and DSA concrete classes) and a DSA doc update to mirror the RSA doc update.

One major item to be aware of for DSA is that some backends (e.g. CommonCrypto/Security.framework) do not support generating independent DSAParameters and reusing them to generate new keys. This will mean that when we add support for DSA in that backend we'll need to modify an existing function or add a new function to encompass the idea of generating parameters and key simultaneously. The backend also won't be able to provide a backend specific DSAParameters object when calling `parameters()` on a `DSA{Public,Private}Key`. I believe this is doable while preserving the `DSAParameters` path, but if anyone has a suggestion to make the API more elegant for both speak up in this PR before it lands!

Refs #1117