diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-11-24 12:23:22 -1000 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-11-24 12:23:22 -1000 |
commit | 333ae9be186d5a3fc39c6b175774fd4d4413ed2c (patch) | |
tree | ec5bd014dd527a9f444bce62460fe87e9701d235 | |
parent | 6c4302e64c8ee866bfde6cd0acd5a86a9b1834de (diff) | |
download | cryptography-333ae9be186d5a3fc39c6b175774fd4d4413ed2c.tar.gz cryptography-333ae9be186d5a3fc39c6b175774fd4d4413ed2c.tar.bz2 cryptography-333ae9be186d5a3fc39c6b175774fd4d4413ed2c.zip |
update docs with review feedback
-rw-r--r-- | docs/hazmat/backends/interfaces.rst | 5 | ||||
-rw-r--r-- | docs/hazmat/primitives/interfaces.rst | 13 |
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) |