From 834c03e85aee34abeb60d08ac80a020565734c3a Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 13 Apr 2015 08:40:50 -0400 Subject: Document that decode_rfc6979_signature raises ValueError --- docs/hazmat/primitives/asymmetric/utils.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/hazmat') 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. -- cgit v1.2.3