diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-09-14 18:24:20 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-09-14 18:24:20 -0400 |
commit | edfedc135cbce685e96e7386654e99eb1c43362b (patch) | |
tree | a58ceae245d08c5159827888c4018e06939657c6 /docs/x509 | |
parent | 7700251f26c39c38dbf2be8924be46fec08ac2cb (diff) | |
download | cryptography-edfedc135cbce685e96e7386654e99eb1c43362b.tar.gz cryptography-edfedc135cbce685e96e7386654e99eb1c43362b.tar.bz2 cryptography-edfedc135cbce685e96e7386654e99eb1c43362b.zip |
a few docs fixes and language improvements (#4472)
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. |