D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
doc
/
python2-cryptography-1.7.2
/
docs
/
hazmat
/
primitives
/
asymmetric
/
Filename :
interfaces.rst
back
Copy
.. hazmat:: .. module:: cryptography.hazmat.primitives.asymmetric Signature Interfaces ==================== .. class:: AsymmetricSignatureContext .. versionadded:: 0.2 .. method:: update(data) :param bytes data: The data you want to sign. .. method:: finalize() :return bytes signature: The signature. .. class:: AsymmetricVerificationContext .. versionadded:: 0.2 .. 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.