aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/utils.rst
blob: 9749b6d10df52e5b9ba826422c2a330f888514fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.. hazmat::

Asymmetric Utilities
====================

.. currentmodule:: cryptography.hazmat.primitives.asymmetric.utils


.. function:: decode_rfc6979_signature(signature)

    Takes in :rfc:`6979` signatures generated by the DSA/ECDSA signers and
    returns a tuple ``(r, s)``.

    :param bytes signature: The signature to decode.

    :returns: The decoded tuple ``(r, s)``.