pyca/cryptography — pull request #1103 by reaperhulk (2014-06-07 03:14:07+00:00)
Title: add load_rsa_*_numbers functions

This approach works, but will not be ideal in `MultiBackend` since there's no way to check if a backend supports loading `RSA*Numbers` without catching an exception (which I documented but no backend currently does).

An alternate approach would be to split the backend interface for `RSABackend` and make `RSANumbersLoading` a separate interface. Then `load_rsa_*_numbers` can check the backend provided and raise directly (and `MultiBackend` will be able to skip a backend that doesn't support it). I think that makes more sense, but do others agree?

fixes #1097