aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ocsp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ocsp.rst')
-rw-r--r--doc/ocsp.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/ocsp.rst b/doc/ocsp.rst
index 51486dbc1..6c52cbe50 100644
--- a/doc/ocsp.rst
+++ b/doc/ocsp.rst
@@ -3,7 +3,8 @@ OCSP
A client makes an OCSP request to what is termed an 'OCSP responder'.
This responder returns a signed response attesting that the
-certificate in question has not been revoked.
+certificate in question has not been revoked. One common way of making
+OCSP requests is via HTTP, see :rfc:`2560` Appendix A for details.
.. cpp:class:: OCSP::Request
@@ -12,6 +13,10 @@ certificate in question has not been revoked.
Create a new OCSP request
+ .. cpp:function:: std::vector<byte> BER_encode() const
+
+ Encode the current OCSP request as a binary string.
+
.. cpp:function:: std::string base64_encode() const
Encode the current OCSP request as a base64 string.
@@ -29,6 +34,6 @@ certificate in question has not been revoked.
const X509_Certificate& subject) const
Returns true if and only if this OCSP response is not an error,
- is signed correctly, and the response indicates that *issuer* is
- not currently revoked.
+ is signed correctly, and the response indicates that *subject*
+ is not currently revoked.