Skip to content

Commit

Permalink
Clarify what to pass to the sign-function (#3066)
Browse files Browse the repository at this point in the history
Sign needs an ECDSA instance and from following the link to EllipticCurveSignatureAlgorithm, that wasn't clear directly.
  • Loading branch information
LoyVanBeek authored and alex committed Jul 30, 2016
1 parent 6e9e489 commit dacdbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hazmat/primitives/asymmetric/ec.rst
Expand Up @@ -415,7 +415,7 @@ Key Interfaces
:param bytes data: The message string to sign.

:param signature_algorithm: An instance of
:class:`EllipticCurveSignatureAlgorithm`.
:class:`EllipticCurveSignatureAlgorithm`, such as :class:`ECDSA`.

:return bytes: Signature.

Expand Down

0 comments on commit dacdbb9

Please sign in to comment.