xmltooling::OpenSSLSOAPTransport Class Reference

Encapsulates OpenSSL-capable SOAP transport layer. More...

#include <xmltooling/soap/OpenSSLSOAPTransport.h>

Inheritance diagram for xmltooling::OpenSSLSOAPTransport:
xmltooling::SOAPTransport

List of all members.

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.

Detailed Description

Encapsulates OpenSSL-capable SOAP transport layer.


Member Typedef Documentation

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.


Member Function Documentation

virtual void xmltooling::OpenSSLSOAPTransport::setAuthenticated ( bool  auth  )  [pure virtual]

Set indicator that the transport peer has been authenticated.

Parameters:
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.

Parameters:
cipherlist cipher suite expression/list
Returns:
true iff the ciphers were set
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.

Parameters:
fn callback function
userptr a caller-supplied value to pass to the callback function
Returns:
true iff the callback was set

The documentation for this class was generated from the following file:

Generated on 24 Jan 2020 for xmltooling by  doxygen 1.6.1