Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / protocols / ace / INet / SSL_PasswordCallback.h
blobfd5ce25866896a402e23133397cb22e7e6eccd9f
1 /**
2 * @file SSL_PasswordCallback.h
4 * @author Martin Corino <mcorino@remedy.nl>
5 */
7 #ifndef ACE_SSL_PASSWORDCALLBACK_H
8 #define ACE_SSL_PASSWORDCALLBACK_H
10 #include /**/ "ace/pre.h"
12 #include "ace/SString.h"
13 #include "ace/INet/INet_Log.h"
14 #include "ace/INet/INet_SSL_Export.h"
16 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
18 namespace ACE
20 namespace INet
22 /**
23 * @class ACE_INet_SSL_PasswordCallback
25 * @brief Abstract base class for SSL private key
26 * password callback.
29 class ACE_INET_SSL_Export SSL_PasswordCallback
31 public:
32 SSL_PasswordCallback ();
33 virtual ~SSL_PasswordCallback ();
35 virtual void get_privatekey_password (ACE_CString& pwd) = 0;
40 ACE_END_VERSIONED_NAMESPACE_DECL
42 #include /**/ "ace/post.h"
43 #endif /* ACE_SSL_PASSWORDCALLBACK_H */