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

SSL_CTX_get_verify_mode(3)

NAME

SSL_CTX_get_verify_mode, SSL_get_verify_mode, SSL_CTX_get_verify_depth, SSL_get_verify_depth, SSL_get_verify_callback, SSL_CTX_get_verify_callback - Get currently set verification parameters

SYNOPSIS

#include <openssl/ssl.h> int SSL_CTX_get_verify_mode( SSL_CTX *ctx ); int SSL_get_verify_mode( SSL *ssl ); int SSL_CTX_get_verify_depth( SSL_CTX *ctx ); int SSL_get_verify_depth( SSL *ssl ); int *SSL_CTX_get_verify_callback( SSL_CTX *ctx, int X509_STORE_CTX * ); int *SSL_get_verify_callback( SSL *ssl, int, X509_STORE_CTX * );

DESCRIPTION

The SSL_CTX_get_verify_mode() function returns the verification mode currently set in ctx. The SSL_get_verify_mode() function returns the verification mode currently set in ssl. The SSL_CTX_get_verify_depth() function returns the verification depth limit currently set in ctx. If no limit has been explicitly set, -1 is returned and the default value will be used. The SSL_get_verify_depth() function returns the verification depth limit currently set in ssl. If no limit has been explicitly set, -1 is returned and the default value will be used. The SSL_CTX_get_verify_callback() function returns a function pointer to the verification callback currently set in ctx. If no callback was explicitly set, the NULL pointer is returned and the default callback will be used. The SSL_get_verify_callback() function returns a function pointer to the verification callback currently set in ssl. If no callback was explicitly set, the NULL pointer is returned and the default callback will be used.

RETURN VALUES

See Description.

SEE ALSO

Functions: ssl(3), SSL_CTX_set_verify(3)

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