update docs with review feedback
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 47553a9..3cce157 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -523,6 +523,5 @@
: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 888a340..d9019cb 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -709,7 +709,8 @@
: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 @@
.. 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)