diff options
Diffstat (limited to 'docs/x509')
-rw-r--r-- | docs/x509/ocsp.rst | 6 | ||||
-rw-r--r-- | docs/x509/reference.rst | 4 |
2 files changed, 4 insertions, 6 deletions
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. |