summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-15 16:25:28 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-15 16:25:28 -0600
commit92aac3891715aea562ffb51985bd142cbabb64ce (patch)
treec283d9f7bf6d70a6c0af8883902174787520e288
parente76cd27c28f75f3972ddcf5e15d5e37e6da2098e (diff)
downloadcryptography-92aac3891715aea562ffb51985bd142cbabb64ce.tar.gz
improve the docs a bit more
-rw-r--r--docs/x509.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index c682e5e88..5278d07b2 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