From 788b859efd679b5df90475b32eeccf593d7eb38e Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 7 Oct 2018 11:07:14 +0800 Subject: OCSP response serialization (#4482) * support OCSP response serialization * empty commit, good times --- docs/x509/ocsp.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/x509') 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 -- cgit v1.2.3