11 #ifndef ASIO_SSL_DETAIL_PASSWORD_CALLBACK_HPP 12 #define ASIO_SSL_DETAIL_PASSWORD_CALLBACK_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if !defined(ASIO_ENABLE_OLD_SSL) 24 #endif // !defined(ASIO_ENABLE_OLD_SSL) 32 #if !defined(ASIO_ENABLE_OLD_SSL) 41 virtual std::string
call(std::size_t size,
45 template <
typename PasswordCallback>
54 virtual std::string
call(std::size_t size,
57 return callback_(size, purpose);
61 PasswordCallback callback_;
64 #endif // !defined(ASIO_ENABLE_OLD_SSL) 72 #endif // ASIO_SSL_DETAIL_PASSWORD_CALLBACK_HPP
password_purpose
Purpose of PEM password.
virtual std::string call(std::size_t size, context_base::password_purpose purpose)
password_callback(PasswordCallback callback)
virtual ~password_callback_base()
virtual std::string call(std::size_t size, context_base::password_purpose purpose)=0