aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/serialization.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/serialization.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/serialization.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/serialization.rst b/docs/hazmat/primitives/asymmetric/serialization.rst
index 18b89c44..b86fab64 100644
--- a/docs/hazmat/primitives/asymmetric/serialization.rst
+++ b/docs/hazmat/primitives/asymmetric/serialization.rst
@@ -107,8 +107,8 @@ all begin with ``-----BEGIN {format}-----`` and end with ``-----END
:returns: A new instance of a public key.
- :raises ValueError: If the PEM data could not be decrypted or if its
- structure could not be decoded successfully.
+ :raises ValueError: If the PEM data's structure could not be decoded
+ successfully.
:raises UnsupportedAlgorithm: If the serialized key is of a type that
is not supported by the backend.