diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-02-16 13:17:14 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-02-16 14:34:11 -0600 |
commit | 0d6203f25ad15d5e369e23c8a30ba9d2e42eaf1e (patch) | |
tree | 74f152da91f230f3b8c006e0ebca3eb5f86cf770 /docs/hazmat/primitives/interfaces.rst | |
parent | 426eee7e732f90f04740e055381f0b37dadc2df1 (diff) | |
download | cryptography-0d6203f25ad15d5e369e23c8a30ba9d2e42eaf1e.tar.gz cryptography-0d6203f25ad15d5e369e23c8a30ba9d2e42eaf1e.tar.bz2 cryptography-0d6203f25ad15d5e369e23c8a30ba9d2e42eaf1e.zip |
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. |