From edfedc135cbce685e96e7386654e99eb1c43362b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 14 Sep 2018 18:24:20 -0400 Subject: a few docs fixes and language improvements (#4472) --- docs/x509/ocsp.rst | 6 ++---- docs/x509/reference.rst | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'docs/x509') diff --git a/docs/x509/ocsp.rst b/docs/x509/ocsp.rst index 163a6a8a..14d9bb84 100644 --- a/docs/x509/ocsp.rst +++ b/docs/x509/ocsp.rst @@ -178,8 +178,7 @@ Interfaces .. attribute:: hash_algorithm - :type: An instance of a - :class:`~cryptography.hazmat.primitives.hashes.Hash` + :type: :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` The algorithm used to generate the ``issuer_key_hash`` and ``issuer_name_hash``. @@ -358,8 +357,7 @@ Interfaces .. attribute:: hash_algorithm - :type: An instance of a - :class:`~cryptography.hazmat.primitives.hashes.Hash` + :type: :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` The algorithm used to generate the ``issuer_key_hash`` and ``issuer_name_hash``. diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 079fef92..8330b2ac 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -1371,7 +1371,7 @@ General Name Classes .. attribute:: value - :type: `bytes` + :type: bytes X.509 Extensions ~~~~~~~~~~~~~~~~ @@ -2261,7 +2261,7 @@ X.509 Extensions .. attribute:: value - :type: byte + :type: bytes Returns the DER encoded bytes payload of the extension. -- cgit v1.2.3