Index Index for
Section 3
Index Alphabetical
listing for S
Bottom of page Bottom of
page

SSL_alert_desc_string,(3)

NAME

SSL_alert_desc_string, SSL_alert_desc_string_long - Get description of an SSL alert

SYNOPSIS

#include <openssl/ssl.h> char *SSL_alert_desc_string( int value ); char *SSL_alert_desc_string_long( int value );

DESCRIPTION

The SSL_alert_desc_string() returns two-letter strings indicating SSL alerts. The SSL_alert_desc_string_long() returns message strings about SSL alerts.

RETURN VALUES

The SSL_alert_desc_string() function returns two-letter strings, and the SSL_alert_desc_string_long() function returns two-word messages. [Return values by SSL_alert_desc_string()] | [Return values by SSL_alert_desc_string_long()] : CN | "close notify" Indicates that the "close notify" SSL alert was received. UM | "unexpected_message" Indicates that the "unexpected_message" SSL alert was received. BM | "bad record mac" Indicates that the "bad record mac" SSL alert was received. DF | "decompression failure" Indicates that the "decompression failure" SSL alert was received. HF | "handshake failure" Indicates that the "handshake failure" SSL alert was received. NC | "no certificate" Indicates that the "no certificate" SSL alert was received. BC | "bad certificate" Indicates that the "bad certificate" SSL alert was received. UC | "unsupported certificate" Indicates that the "unsupported certificate" SSL alert was received. CR | "certificate revoked" Indicates that the "certificate revoked" SSL alert was received. CE | "certificate expired" Indicates that the "certificate expired" SSL alert was received. CU | "certificate unknown" Indicates that the "certificate unknown" SSL alert was received. IP | "illegal parameter" Indicates that the "illegal parameter" SSL alert was received. BC | "unknown" Indicates that the "unknown" SSL alert was received.

SEE ALSO

SSL_alert_type_string(3)

Index Index for
Section 3
Index Alphabetical
listing for S
Top of page Top of
page