aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_messages.h
diff options
context:
space:
mode:
authorFalko Strenzke <[email protected]>2018-09-28 16:33:24 +0200
committerJack Lloyd <[email protected]>2019-05-22 13:42:59 -0400
commitb5176ca26fd36cb51588a5d3d7094eaa313fcf63 (patch)
treef2a255b68721390ef3b64a58ade4a5a2f2a926cd /src/lib/tls/tls_messages.h
parent14523b4f2126686edf21004ea15bc148b599a068 (diff)
implemented ocsp stapling (code not yet formatted properly)
Diffstat (limited to 'src/lib/tls/tls_messages.h')
-rw-r--r--src/lib/tls/tls_messages.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h
index 0549a66a6..31c067696 100644
--- a/src/lib/tls/tls_messages.h
+++ b/src/lib/tls/tls_messages.h
@@ -399,6 +399,13 @@ class BOTAN_UNSTABLE_API Certificate_Status final : public Handshake_Message
Handshake_Hash& hash,
std::shared_ptr<const OCSP::Response> response);
+ /*
+ * Create a Certificate_Status message using an already DER encoded OCSP response.
+ */
+ Certificate_Status(Handshake_IO& io,
+ Handshake_Hash& hash,
+ std::vector<uint8_t> const& raw_response_bytes );
+
private:
std::vector<uint8_t> serialize() const override;
std::vector<uint8_t> m_response;