aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-19 09:34:56 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-20 16:53:04 -0500
commit8ab7a360330daa195ea1c0cf70d606dc7dce88c8 (patch)
tree4800e1b4b3c4d03bc0dfb7d4560e5d5576262a2f /docs/hazmat/primitives/asymmetric
parent73dd4d5bd713f80fc0ffe04921d61d993437d458 (diff)
downloadcryptography-8ab7a360330daa195ea1c0cf70d606dc7dce88c8.tar.gz
cryptography-8ab7a360330daa195ea1c0cf70d606dc7dce88c8.tar.bz2
cryptography-8ab7a360330daa195ea1c0cf70d606dc7dce88c8.zip
remove InvalidDecryption and replace with ValueError
Diffstat (limited to 'docs/hazmat/primitives/asymmetric')
-rw-r--r--docs/hazmat/primitives/asymmetric/rsa.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst
index e72e8835..aef15691 100644
--- a/docs/hazmat/primitives/asymmetric/rsa.rst
+++ b/docs/hazmat/primitives/asymmetric/rsa.rst
@@ -143,11 +143,8 @@ RSA
:class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding`
provider.
- :raises ValueError: This is raised when the chosen hash algorithm is
- too large for the key size.
-
- :raises cryptography.exceptions.InvalidDecryption: This is raised if
- decryption fails due to invalid ciphertext.
+ :raises ValueError: This is raised when decryption fails or the chosen
+ hash algorithm is too large for the key size.
.. class:: RSAPublicKey(public_exponent, modulus)