diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-01-10 15:37:03 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2019-01-10 18:37:03 -0500 |
commit | 60f264b0f293bfded7a0b4395715669d355a6185 (patch) | |
tree | a8fdf4f17f20115063e557eebf36b0f9dd1b7a63 /docs/x509 | |
parent | 90a557764542f2d939a8b0a61c74b299870fca6c (diff) | |
download | cryptography-60f264b0f293bfded7a0b4395715669d355a6185.tar.gz cryptography-60f264b0f293bfded7a0b4395715669d355a6185.tar.bz2 cryptography-60f264b0f293bfded7a0b4395715669d355a6185.zip |
add signature_hash_algorithm to OCSPResponse (#4681)
* add signature_hash_algorithm to OCSPResponse
* fix pointless asserts
Diffstat (limited to 'docs/x509')
-rw-r--r-- | docs/x509/ocsp.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/x509/ocsp.rst b/docs/x509/ocsp.rst index 535ffdda..d3815d6f 100644 --- a/docs/x509/ocsp.rst +++ b/docs/x509/ocsp.rst @@ -426,6 +426,16 @@ Interfaces :raises ValueError: If ``response_status`` is not :class:`~cryptography.x509.ocsp.OCSPResponseStatus.SUCCESSFUL`. + .. attribute:: signature_hash_algorithm + + .. versionadded:: 2.5 + + :type: :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` + + Returns the + :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` which + was used in signing this response. + .. attribute:: signature :type: bytes |