aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-04-13 08:40:50 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-04-13 08:40:50 -0400
commit834c03e85aee34abeb60d08ac80a020565734c3a (patch)
tree22dd98451b0d0e9f4f214e3d0561e45c7a877652 /docs/hazmat
parent249bbd0064d42d78ff51e9a0203db4492453418f (diff)
downloadcryptography-834c03e85aee34abeb60d08ac80a020565734c3a.tar.gz
cryptography-834c03e85aee34abeb60d08ac80a020565734c3a.tar.bz2
cryptography-834c03e85aee34abeb60d08ac80a020565734c3a.zip
Document that decode_rfc6979_signature raises ValueError
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/asymmetric/utils.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/utils.rst b/docs/hazmat/primitives/asymmetric/utils.rst
index 6b348801..e16c76f1 100644
--- a/docs/hazmat/primitives/asymmetric/utils.rst
+++ b/docs/hazmat/primitives/asymmetric/utils.rst
@@ -15,6 +15,9 @@ Asymmetric Utilities
:returns: The decoded tuple ``(r, s)``.
+ :raises ValueError: Raised if the signature is malformed in any way. This
+ **does not** ensure that the signature is *valid*.
+
.. function:: encode_rfc6979_signature(r, s)
Creates an :rfc:`6979` byte string from raw signature values.