diff options
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/interfaces.rst')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/interfaces.rst | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/docs/hazmat/primitives/asymmetric/interfaces.rst b/docs/hazmat/primitives/asymmetric/interfaces.rst deleted file mode 100644 index a5dbc671..00000000 --- a/docs/hazmat/primitives/asymmetric/interfaces.rst +++ /dev/null @@ -1,44 +0,0 @@ -.. hazmat:: - -.. module:: cryptography.hazmat.primitives.asymmetric - -Signature Interfaces -==================== - -.. class:: AsymmetricSignatureContext - - .. 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. - - .. method:: finalize() - - :return bytes signature: The signature. - - -.. class:: AsymmetricVerificationContext - - .. 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. - - .. method:: verify() - - :raises cryptography.exceptions.InvalidSignature: If the signature does - not validate. |