diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-16 08:17:39 -0430 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-16 08:17:39 -0430 |
commit | e171c5fcf47263d4aee35c555844e4c4d7aec5f0 (patch) | |
tree | 10fd0e14053b0b467279dd40e6c722c647bed865 /docs | |
parent | 1e7ce06edb9179cf2afc66b031767d9246242fad (diff) | |
parent | 68855e0611e70486ef1ae93a0936babb3fc80704 (diff) | |
download | cryptography-e171c5fcf47263d4aee35c555844e4c4d7aec5f0.tar.gz cryptography-e171c5fcf47263d4aee35c555844e4c4d7aec5f0.tar.bz2 cryptography-e171c5fcf47263d4aee35c555844e4c4d7aec5f0.zip |
Merge pull request #807 from Ayrx/add-backend-check-to-rsa
Added backend check to rsa primitives
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/rsa.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst index 7943981e..03a7caed 100644 --- a/docs/hazmat/primitives/asymmetric/rsa.rst +++ b/docs/hazmat/primitives/asymmetric/rsa.rst @@ -50,6 +50,11 @@ RSA provider. :return: A new instance of ``RSAPrivateKey``. + :raises cryptography.exceptions.UnsupportedInterface: This is raised if + the provided ``backend`` does not implement + :class:`~cryptography.hazmat.backends.interfaces.RSABackend` + + .. method:: signer(padding, algorithm, backend) .. versionadded:: 0.3 @@ -90,6 +95,9 @@ RSA :returns: :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricSignatureContext` + :raises cryptography.exceptions.UnsupportedInterface: This is raised if + the provided ``backend`` does not implement + :class:`~cryptography.hazmat.backends.interfaces.RSABackend` .. class:: RSAPublicKey(public_exponent, modulus) @@ -154,6 +162,10 @@ RSA :returns: :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricVerificationContext` + :raises cryptography.exceptions.UnsupportedInterface: This is raised if + the provided ``backend`` does not implement + :class:`~cryptography.hazmat.backends.interfaces.RSABackend` + .. _`RSA`: https://en.wikipedia.org/wiki/RSA_(cryptosystem) .. _`public-key`: https://en.wikipedia.org/wiki/Public-key_cryptography .. _`use 65537`: http://www.daemonology.net/blog/2009-06-11-cryptographic-right-answers.html |