aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-02-16 18:24:16 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-02-16 18:24:36 -0600
commit25bbc150752de98b459f061ce4b90628f2108dbd (patch)
tree2ca9c645bcd8778a9ba83f8a1c8c670515021ab4 /docs/hazmat
parent0d6203f25ad15d5e369e23c8a30ba9d2e42eaf1e (diff)
downloadcryptography-25bbc150752de98b459f061ce4b90628f2108dbd.tar.gz
cryptography-25bbc150752de98b459f061ce4b90628f2108dbd.tar.bz2
cryptography-25bbc150752de98b459f061ce4b90628f2108dbd.zip
move asymmetric signature interface docs
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/asymmetric/index.rst32
-rw-r--r--docs/hazmat/primitives/asymmetric/interfaces.rst33
2 files changed, 34 insertions, 31 deletions
diff --git a/docs/hazmat/primitives/asymmetric/index.rst b/docs/hazmat/primitives/asymmetric/index.rst
index 203f589a..59f00c5d 100644
--- a/docs/hazmat/primitives/asymmetric/index.rst
+++ b/docs/hazmat/primitives/asymmetric/index.rst
@@ -30,38 +30,8 @@ and Elliptic Curve.
ec
rsa
serialization
+ interfaces
utils
-.. 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.
-
.. _`proof of identity`: https://en.wikipedia.org/wiki/Public-key_infrastructure
diff --git a/docs/hazmat/primitives/asymmetric/interfaces.rst b/docs/hazmat/primitives/asymmetric/interfaces.rst
new file mode 100644
index 00000000..4932faa5
--- /dev/null
+++ b/docs/hazmat/primitives/asymmetric/interfaces.rst
@@ -0,0 +1,33 @@
+.. 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.
+