Encapsulates OpenSSL-capable SOAP transport layer. More...
#include <xmltooling/soap/OpenSSLSOAPTransport.h>
Public Types | |
typedef bool(* | ssl_ctx_callback_fn )(OpenSSLSOAPTransport *transport, SSL_CTX *ssl_ctx, void *userptr) |
OpenSSL context callback for manipulating credentials and validation behavior. | |
Public Member Functions | |
virtual bool | setSSLCallback (ssl_ctx_callback_fn fn, void *userptr=0)=0 |
Set a callback function to invoke against the SSL_CTX before the handshake. | |
virtual bool | setCipherSuites (const char *cipherlist)=0 |
Set an expression identifying the cipher suites to enable using OpenSSL syntax. | |
virtual void | setAuthenticated (bool auth)=0 |
Set indicator that the transport peer has been authenticated. |
Encapsulates OpenSSL-capable SOAP transport layer.
typedef bool(* xmltooling::OpenSSLSOAPTransport::ssl_ctx_callback_fn)(OpenSSLSOAPTransport *transport, SSL_CTX *ssl_ctx, void *userptr) |
OpenSSL context callback for manipulating credentials and validation behavior.
virtual void xmltooling::OpenSSLSOAPTransport::setAuthenticated | ( | bool | auth | ) | [pure virtual] |
Set indicator that the transport peer has been authenticated.
auth | flag to set |
virtual bool xmltooling::OpenSSLSOAPTransport::setCipherSuites | ( | const char * | cipherlist | ) | [pure virtual] |
Set an expression identifying the cipher suites to enable using OpenSSL syntax.
Note this does not include TLS 1.3 ciphers.
cipherlist | cipher suite expression/list |
virtual bool xmltooling::OpenSSLSOAPTransport::setSSLCallback | ( | ssl_ctx_callback_fn | fn, | |
void * | userptr = 0 | |||
) | [pure virtual] |
Set a callback function to invoke against the SSL_CTX before the handshake.
fn | callback function | |
userptr | a caller-supplied value to pass to the callback function |