1SSL_CTX_get_verify_mode(3) OpenSSL SSL_CTX_get_verify_mode(3)
2
3
4
6 SSL_CTX_get_verify_mode, SSL_get_verify_mode, SSL_CTX_get_verify_depth,
7 SSL_get_verify_depth, SSL_get_verify_callback,
8 SSL_CTX_get_verify_callback - get currently set verification parameters
9
11 #include <openssl/ssl.h>
12
13 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
14 int SSL_get_verify_mode(const SSL *ssl);
15 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
16 int SSL_get_verify_depth(const SSL *ssl);
17 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
18 int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);
19
21 SSL_CTX_get_verify_mode() returns the verification mode currently set
22 in ctx.
23
24 SSL_get_verify_mode() returns the verification mode currently set in
25 ssl.
26
27 SSL_CTX_get_verify_depth() returns the verification depth limit
28 currently set in ctx. If no limit has been explicitly set, -1 is
29 returned and the default value will be used.
30
31 SSL_get_verify_depth() returns the verification depth limit currently
32 set in ssl. If no limit has been explicitly set, -1 is returned and the
33 default value will be used.
34
35 SSL_CTX_get_verify_callback() returns a function pointer to the
36 verification callback currently set in ctx. If no callback was
37 explicitly set, the NULL pointer is returned and the default callback
38 will be used.
39
40 SSL_get_verify_callback() returns a function pointer to the
41 verification callback currently set in ssl. If no callback was
42 explicitly set, the NULL pointer is returned and the default callback
43 will be used.
44
46 See DESCRIPTION
47
49 ssl(3), SSL_CTX_set_verify(3)
50
51
52
531.0.1e 2013-02-11 SSL_CTX_get_verify_mode(3)