1 | =pod
|
---|
2 |
|
---|
3 | =head1 NAME
|
---|
4 |
|
---|
5 | 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
|
---|
6 |
|
---|
7 | =head1 SYNOPSIS
|
---|
8 |
|
---|
9 | #include <openssl/ssl.h>
|
---|
10 |
|
---|
11 | int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
|
---|
12 | int SSL_get_verify_mode(const SSL *ssl);
|
---|
13 | int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
|
---|
14 | int SSL_get_verify_depth(const SSL *ssl);
|
---|
15 | int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
|
---|
16 | int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);
|
---|
17 |
|
---|
18 | =head1 DESCRIPTION
|
---|
19 |
|
---|
20 | SSL_CTX_get_verify_mode() returns the verification mode currently set in
|
---|
21 | B<ctx>.
|
---|
22 |
|
---|
23 | SSL_get_verify_mode() returns the verification mode currently set in
|
---|
24 | B<ssl>.
|
---|
25 |
|
---|
26 | SSL_CTX_get_verify_depth() returns the verification depth limit currently set
|
---|
27 | in B<ctx>. If no limit has been explicitly set, -1 is returned and the
|
---|
28 | default value will be used.
|
---|
29 |
|
---|
30 | SSL_get_verify_depth() returns the verification depth limit currently set
|
---|
31 | in B<ssl>. If no limit has been explicitly set, -1 is returned and the
|
---|
32 | default value will be used.
|
---|
33 |
|
---|
34 | SSL_CTX_get_verify_callback() returns a function pointer to the verification
|
---|
35 | callback currently set in B<ctx>. If no callback was explicitly set, the
|
---|
36 | NULL pointer is returned and the default callback will be used.
|
---|
37 |
|
---|
38 | SSL_get_verify_callback() returns a function pointer to the verification
|
---|
39 | callback currently set in B<ssl>. If no callback was explicitly set, the
|
---|
40 | NULL pointer is returned and the default callback will be used.
|
---|
41 |
|
---|
42 | =head1 RETURN VALUES
|
---|
43 |
|
---|
44 | See DESCRIPTION
|
---|
45 |
|
---|
46 | =head1 SEE ALSO
|
---|
47 |
|
---|
48 | L<ssl(7)>, L<SSL_CTX_set_verify(3)>
|
---|
49 |
|
---|
50 | =head1 COPYRIGHT
|
---|
51 |
|
---|
52 | Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
|
---|
53 |
|
---|
54 | Licensed under the Apache License 2.0 (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 | L<https://www.openssl.org/source/license.html>.
|
---|
58 |
|
---|
59 | =cut
|
---|