aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/x509.rst')
-rw-r--r--docs/x509.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index c682e5e8..5278d07b 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -34,8 +34,8 @@ Loading Certificates
.. versionadded:: 0.7
Deserialize a certificate from DER encoded data. DER is a binary format
- and is commonly found in files with the ``cer`` suffix (although file
- suffixes are not a guarantee of encoding type).
+ and is commonly found in files with the ``.cer`` extension (although file
+ extensions are not a guarantee of encoding type).
:param bytes data: The DER encoded certificate data.
@@ -93,6 +93,9 @@ X.509 Certificate Object
The certificate version as an enumeration. Version 3 certificates are
the latest version and also the only type you should see in practice.
+ :raises cryptography.x509.InvalidVersion: If the version is
+ not valid.
+
.. method:: fingerprint(algorithm)
:param algorithm: The