From 333ae9be186d5a3fc39c6b175774fd4d4413ed2c Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 24 Nov 2014 12:23:22 -1000 Subject: update docs with review feedback --- docs/hazmat/backends/interfaces.rst | 5 ++--- docs/hazmat/primitives/interfaces.rst | 13 ++++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'docs') 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) -- cgit v1.2.3