aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-10-07 11:07:14 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2018-10-06 23:07:14 -0400
commit788b859efd679b5df90475b32eeccf593d7eb38e (patch)
treee953592c88179747452dbcd848185129442fe360 /docs/x509
parent0c07580a216d4b75bfdca22254803cf48c602079 (diff)
downloadcryptography-788b859efd679b5df90475b32eeccf593d7eb38e.tar.gz
cryptography-788b859efd679b5df90475b32eeccf593d7eb38e.tar.bz2
cryptography-788b859efd679b5df90475b32eeccf593d7eb38e.zip
OCSP response serialization (#4482)
* support OCSP response serialization * empty commit, good times
Diffstat (limited to 'docs/x509')
-rw-r--r--docs/x509/ocsp.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/x509/ocsp.rst b/docs/x509/ocsp.rst
index 528502a7..499e7a91 100644
--- a/docs/x509/ocsp.rst
+++ b/docs/x509/ocsp.rst
@@ -411,6 +411,14 @@ Interfaces
The extensions encoded in the response.
+ .. method:: public_bytes(encoding)
+
+ :param encoding: The encoding to use. Only
+ :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER`
+ is supported.
+
+ :return bytes: The serialized OCSP response.
+
.. class:: OCSPResponseStatus
.. versionadded:: 2.4