aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/interfaces.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/interfaces.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/interfaces.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/interfaces.rst b/docs/hazmat/primitives/asymmetric/interfaces.rst
index c4f176c6..a5dbc671 100644
--- a/docs/hazmat/primitives/asymmetric/interfaces.rst
+++ b/docs/hazmat/primitives/asymmetric/interfaces.rst
@@ -9,6 +9,12 @@ Signature Interfaces
.. versionadded:: 0.2
+ .. note::
+
+ :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed`
+ is not supported by this context. You must use the ``sign`` method
+ on the private key object.
+
.. method:: update(data)
:param bytes data: The data you want to sign.
@@ -22,6 +28,12 @@ Signature Interfaces
.. versionadded:: 0.2
+ .. note::
+
+ :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed`
+ is not supported by this context. You must use the ``verify`` method
+ on the public key object.
+
.. method:: update(data)
:param bytes data: The data you wish to verify using the signature.