SSL_CTX_get_verify_mode.pod 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. =pod
  2. =head1 NAME
  3. 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
  4. =head1 SYNOPSIS
  5. #include <openssl/ssl.h>
  6. int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
  7. int SSL_get_verify_mode(const SSL *ssl);
  8. int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
  9. int SSL_get_verify_depth(const SSL *ssl);
  10. int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
  11. int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);
  12. =head1 DESCRIPTION
  13. SSL_CTX_get_verify_mode() returns the verification mode currently set in
  14. B<ctx>.
  15. SSL_get_verify_mode() returns the verification mode currently set in
  16. B<ssl>.
  17. SSL_CTX_get_verify_depth() returns the verification depth limit currently set
  18. in B<ctx>. If no limit has been explicitly set, -1 is returned and the
  19. default value will be used.
  20. SSL_get_verify_depth() returns the verification depth limit currently set
  21. in B<ssl>. If no limit has been explicitly set, -1 is returned and the
  22. default value will be used.
  23. SSL_CTX_get_verify_callback() returns a function pointer to the verification
  24. callback currently set in B<ctx>. If no callback was explicitly set, the
  25. NULL pointer is returned and the default callback will be used.
  26. SSL_get_verify_callback() returns a function pointer to the verification
  27. callback currently set in B<ssl>. If no callback was explicitly set, the
  28. NULL pointer is returned and the default callback will be used.
  29. =head1 RETURN VALUES
  30. See DESCRIPTION
  31. =head1 SEE ALSO
  32. L<ssl(3)|ssl(3)>, L<SSL_CTX_set_verify(3)|SSL_CTX_set_verify(3)>
  33. =cut