1
#pragma once
2

            
3
#include <functional>
4
#include <string>
5

            
6
#include "envoy/common/pure.h"
7

            
8
namespace Envoy {
9
namespace Ssl {
10

            
11
class PrivateKeyConnectionCallbacks {
12
public:
13
2556
  virtual ~PrivateKeyConnectionCallbacks() = default;
14

            
15
  /**
16
   * Callback function which is called when the asynchronous private key
17
   * operation has been completed (with either success or failure). The
18
   * provider will communicate the success status when SSL_do_handshake()
19
   * is called the next time.
20
   */
21
  virtual void onPrivateKeyMethodComplete() PURE;
22
};
23

            
24
} // namespace Ssl
25
} // namespace Envoy