72 lines
3.0 KiB
HTML
Executable File
72 lines
3.0 KiB
HTML
Executable File
<?xml version="1.0" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>SSL_CTX_get_verify_mode</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<link rev="made" href="mailto:" />
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<ul id="index">
|
|
<li><a href="#NAME">NAME</a></li>
|
|
<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
|
|
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
|
|
<li><a href="#RETURN-VALUES">RETURN VALUES</a></li>
|
|
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
|
|
<li><a href="#COPYRIGHT">COPYRIGHT</a></li>
|
|
</ul>
|
|
|
|
<h1 id="NAME">NAME</h1>
|
|
|
|
<p>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</p>
|
|
|
|
<h1 id="SYNOPSIS">SYNOPSIS</h1>
|
|
|
|
<pre><code> #include <openssl/ssl.h>
|
|
|
|
int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
|
|
int SSL_get_verify_mode(const SSL *ssl);
|
|
int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
|
|
int SSL_get_verify_depth(const SSL *ssl);
|
|
int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
|
|
int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);</code></pre>
|
|
|
|
<h1 id="DESCRIPTION">DESCRIPTION</h1>
|
|
|
|
<p>SSL_CTX_get_verify_mode() returns the verification mode currently set in <b>ctx</b>.</p>
|
|
|
|
<p>SSL_get_verify_mode() returns the verification mode currently set in <b>ssl</b>.</p>
|
|
|
|
<p>SSL_CTX_get_verify_depth() returns the verification depth limit currently set in <b>ctx</b>. If no limit has been explicitly set, -1 is returned and the default value will be used.</p>
|
|
|
|
<p>SSL_get_verify_depth() returns the verification depth limit currently set in <b>ssl</b>. If no limit has been explicitly set, -1 is returned and the default value will be used.</p>
|
|
|
|
<p>SSL_CTX_get_verify_callback() returns a function pointer to the verification callback currently set in <b>ctx</b>. If no callback was explicitly set, the NULL pointer is returned and the default callback will be used.</p>
|
|
|
|
<p>SSL_get_verify_callback() returns a function pointer to the verification callback currently set in <b>ssl</b>. If no callback was explicitly set, the NULL pointer is returned and the default callback will be used.</p>
|
|
|
|
<h1 id="RETURN-VALUES">RETURN VALUES</h1>
|
|
|
|
<p>See DESCRIPTION</p>
|
|
|
|
<h1 id="SEE-ALSO">SEE ALSO</h1>
|
|
|
|
<p><a href="../man7/ssl.html">ssl(7)</a>, <a href="../man3/SSL_CTX_set_verify.html">SSL_CTX_set_verify(3)</a></p>
|
|
|
|
<h1 id="COPYRIGHT">COPYRIGHT</h1>
|
|
|
|
<p>Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.</p>
|
|
|
|
<p>Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p>
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|