summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCory Benfield <lukasaoz@gmail.com>2016-01-22 18:51:34 +0000
committerCory Benfield <lukasaoz@gmail.com>2016-01-22 18:51:34 +0000
commitfb4d4fb313cc26a863e4d0b4f7df8634535b9346 (patch)
treeac875cbb5354d80670e1e63b284f0f89ffdf76d1 /doc
parent4d67d04bfc4c1e7706ef4c8962f05eb73cb430a1 (diff)
downloadpyopenssl-fb4d4fb313cc26a863e4d0b4f7df8634535b9346.tar.gz
Reformat.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/crypto.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst
index 0568ad7..a10e9e3 100644
--- a/doc/api/crypto.rst
+++ b/doc/api/crypto.rst
@@ -37,13 +37,15 @@ Serialization and deserialization
The following serialization functions take one of these constants to
determine the format.
+.. py:data:: FILETYPE_PEM
+
:data:`FILETYPE_PEM` serializes data to a Base64-encoded encoded representation
-of the underlying ASN.1 data structure. :data:`FILETYPE_ASN1` serializes data
-to the underlying ASN.1 data structure. The format used by
-:data:`FILETYPE_ASN1` is also sometimes referred to as DER.
+of the underlying ASN.1 data structure.
-.. py:data:: FILETYPE_PEM
- FILETYPE_ASN1
+.. py:data:: FILETYPE_ASN1
+
+:data:`FILETYPE_ASN1` serializes data to the underlying ASN.1 data structure.
+The format used by :data:`FILETYPE_ASN1` is also sometimes referred to as DER.
Certificates
~~~~~~~~~~~~