diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/crypto.rst | 12 |
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 ~~~~~~~~~~~~ |