16 throw Decoding_Error(
"Invalid Certificate_Status message: too small");
20 throw Decoding_Error(
"Unexpected Certificate_Status message: unexpected response type");
23 const size_t len =
make_uint32(0, buf[1], buf[2], buf[3]);
26 if(buf.size() != len + 4) {
27 throw Decoding_Error(
"Invalid Certificate_Status: invalid length field");
30 m_response.assign(buf.begin() + 4, buf.end());