diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-02-16 20:24:12 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-02-16 20:24:12 -0800 |
commit | 5e208e7be554cb5c132acef9754c54681e24fab9 (patch) | |
tree | 2ca9c645bcd8778a9ba83f8a1c8c670515021ab4 /docs/hazmat/primitives/interfaces.rst | |
parent | 426eee7e732f90f04740e055381f0b37dadc2df1 (diff) | |
parent | 25bbc150752de98b459f061ce4b90628f2108dbd (diff) | |
download | cryptography-5e208e7be554cb5c132acef9754c54681e24fab9.tar.gz cryptography-5e208e7be554cb5c132acef9754c54681e24fab9.tar.bz2 cryptography-5e208e7be554cb5c132acef9754c54681e24fab9.zip |
Merge pull request #1666 from reaperhulk/move-asym-interfaces
move asymmetric signature/verification interfaces
Diffstat (limited to 'docs/hazmat/primitives/interfaces.rst')
-rw-r--r-- | docs/hazmat/primitives/interfaces.rst | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst index 2d403525..6029d1a9 100644 --- a/docs/hazmat/primitives/interfaces.rst +++ b/docs/hazmat/primitives/interfaces.rst @@ -17,32 +17,8 @@ to document argument and return types. Asymmetric 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. - +In 0.8 the asymmetric signature and verification interfaces were moved to the +:mod:`cryptography.hazmat.primitives.asymmetric` module. In 0.8 the asymmetric padding interface was moved to the :mod:`cryptography.hazmat.primitives.asymmetric.padding` module. |