Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

x509_store_set_verify_cb_func(3) [netbsd man page]

X509_STORE_set_verify_cb_func(3)				      OpenSSL					  X509_STORE_set_verify_cb_func(3)

NAME
X509_STORE_set_verify_cb_func, X509_STORE_set_verify_cb - set verification callback LIBRARY
libcrypto, -lcrypto SYNOPSIS
#include <openssl/x509_vfy.h> void X509_STORE_set_verify_cb(X509_STORE *st, int (*verify_cb)(int ok, X509_STORE_CTX *ctx)); void X509_STORE_set_verify_cb_func(X509_STORE *st, int (*verify_cb)(int ok, X509_STORE_CTX *ctx)); DESCRIPTION
X509_STORE_set_verify_cb() sets the verification callback of ctx to verify_cb overwriting any existing callback. X509_STORE_set_verify_cb_func() also sets the verification callback but it is implemented as a macro. NOTES
The verification callback from an X509_STORE is inherited by the corresponding X509_STORE_CTX structure when it is initialized. This can be used to set the verification callback when the X509_STORE_CTX is otherwise inaccessible (for example during S/MIME verification). BUGS
The macro version of this function was the only one available before OpenSSL 1.0.0. RETURN VALUES
X509_STORE_set_verify_cb() and X509_STORE_set_verify_cb_func() do not return a value. SEE ALSO
X509_STORE_CTX_set_verify_cb(3) CMS_verify(3) HISTORY
X509_STORE_set_verify_cb_func() is available in all versions of SSLeay and OpenSSL. X509_STORE_set_verify_cb() was added to OpenSSL 1.0.0. 1.0.1i 2011-06-05 X509_STORE_set_verify_cb_func(3)

Check Out this Related Man Page

X509_STORE_set_verify_cb_func(3)				      OpenSSL					  X509_STORE_set_verify_cb_func(3)

NAME
X509_STORE_set_verify_cb_func, X509_STORE_set_verify_cb - set verification callback SYNOPSIS
#include <openssl/x509_vfy.h> void X509_STORE_set_verify_cb(X509_STORE *st, int (*verify_cb)(int ok, X509_STORE_CTX *ctx)); void X509_STORE_set_verify_cb_func(X509_STORE *st, int (*verify_cb)(int ok, X509_STORE_CTX *ctx)); DESCRIPTION
X509_STORE_set_verify_cb() sets the verification callback of ctx to verify_cb overwriting any existing callback. X509_STORE_set_verify_cb_func() also sets the verification callback but it is implemented as a macro. NOTES
The verification callback from an X509_STORE is inherited by the corresponding X509_STORE_CTX structure when it is initialized. This can be used to set the verification callback when the X509_STORE_CTX is otherwise inaccessible (for example during S/MIME verification). BUGS
The macro version of this function was the only one available before OpenSSL 1.0.0. RETURN VALUES
X509_STORE_set_verify_cb() and X509_STORE_set_verify_cb_func() do not return a value. SEE ALSO
X509_STORE_CTX_set_verify_cb(3) CMS_verify(3) HISTORY
X509_STORE_set_verify_cb_func() is available in all versions of SSLeay and OpenSSL. X509_STORE_set_verify_cb() was added to OpenSSL 1.0.0. 1.0.1e 2013-02-11 X509_STORE_set_verify_cb_func(3)
Man Page