aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509
diff options
context:
space:
mode:
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