From 92aac3891715aea562ffb51985bd142cbabb64ce Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 15 Dec 2014 16:25:28 -0600 Subject: improve the docs a bit more --- docs/x509.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3