aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/hazmat/backends/interfaces.rst5
-rw-r--r--docs/hazmat/primitives/interfaces.rst13
2 files changed, 10 insertions, 8 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 47553a9d..3cce1576 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -523,6 +523,5 @@ A specific ``backend`` may provide one or more of these interfaces.
:param bytes data: PEM formatted certificate data.
- :returns: An instance of a
- :class:`~cryptography.hazmat.primitives.interfaces.X509Certificate`
- provider.
+ :returns: An instance of
+ :class:`~cryptography.hazmat.primitives.interfaces.X509Certificate`.
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index 888a3403..d9019cbb 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -709,7 +709,8 @@ X509
:class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm`
that will be used by this context.
- :return: The fingerprint using the supplied hash algorithm as bytes.
+ :return bytes: The fingerprint using the supplied hash algorithm as
+ bytes.
.. attribute:: serial
@@ -728,15 +729,17 @@ X509
.. attribute:: not_before
- :type: datetime
+ :type: datetime.datetime
- The beginning of the validity period for the certificate (UTC).
+ A naïve datetime representing the beginning of the validity period for the
+ certificate in UTC. This value is inclusive.
.. attribute:: not_after
- :type: datetime
+ :type: datetime.datetime
- The end of the validity period for the certificate (UTC).
+ A naïve datetime representing the end of the validity period for the
+ certificate in UTC. This value is inclusive.
.. _`RSA`: https://en.wikipedia.org/wiki/RSA_(cryptosystem)