Move key type constants
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst
index 588e26a..23d8521 100644
--- a/doc/api/crypto.rst
+++ b/doc/api/crypto.rst
@@ -47,12 +47,6 @@
 
     A class representing Revocation objects of CRL.
 
-
-.. py:data:: TYPE_RSA
-             TYPE_DSA
-
-    Key type constants.
-
 .. py:exception:: Error
 
     Generic exception used in the :py:mod:`.crypto` module.
@@ -265,6 +259,11 @@
 
 .. _openssl-pkcs7:
 
+.. py:data:: TYPE_RSA
+             TYPE_DSA
+
+    Key type constants.
+
 PKCS7 objects
 -------------