#include <tls_alerts.h>
SSL/TLS Alert Message
Definition at line 18 of file tls_alerts.h.
Deserialize an Alert message
- Parameters
-
Definition at line 35 of file tls_alerts.h.
References Botan::MemoryRegion< T >::size().
38 throw Decoding_Error(
"Alert: Bad size for alert message");
40 if(buf[0] == 1) fatal =
false;
41 else if(buf[0] == 2) fatal =
true;
43 throw Decoding_Error(
"Alert: Bad type code for alert level");
bool Botan::Alert::is_fatal |
( |
| ) |
const |
|
inline |
- Returns
- if this alert is a fatal one or not
Definition at line 24 of file tls_alerts.h.
The documentation for this class was generated from the following file: