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(7), SSL_CTX_set_verify(3)
50
52 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
53
54 Licensed under the OpenSSL license (the "License"). You may not use
55 this file except in compliance with the License. You can obtain a copy
56 in the file LICENSE in the source distribution or at
57 <https://www.openssl.org/source/license.html>.
58
59
60
611.1.1g 2020-04-23 SSL_CTX_GET_VERIFY_MODE(3)