aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-06 19:43:53 -0430
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-03-06 19:43:53 -0430
commit792eef345d138a0d0eff5df923f8218376e78621 (patch)
tree479a7090ede017536fbb5ebb1dfe76ddb1917d7a /docs/hazmat/primitives/symmetric-encryption.rst
parentd932f662d5e2659cb79a6aeb5aa1bdeffa2c067e (diff)
parent2a69b48f6a8e3a287a9fb1fa7728f01bde765a1b (diff)
downloadcryptography-792eef345d138a0d0eff5df923f8218376e78621.tar.gz
cryptography-792eef345d138a0d0eff5df923f8218376e78621.tar.bz2
cryptography-792eef345d138a0d0eff5df923f8218376e78621.zip
Merge pull request #747 from alex/exception-heirarchy-refactor
Try to use more specific exceptions in places.
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 2306c5b7..2bc25c50 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -61,7 +61,7 @@ an "encrypt-then-MAC" formulation as `described by Colin Percival`_.
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` an :class:`~cryptography.exceptions.UnsupportedAlgorithm`
+ and ``mode`` an :class:`~cryptography.exceptions.UnsupportedCipher`
will be raised.
.. method:: decryptor()
@@ -71,7 +71,7 @@ an "encrypt-then-MAC" formulation as `described by Colin Percival`_.
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` an :class:`cryptography.exceptions.UnsupportedAlgorithm`
+ and ``mode`` an :class:`cryptography.exceptions.UnsupportedCipher`
will be raised.
.. _symmetric-encryption-algorithms: