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 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

virtual bool xmltooling::OpenSSLSOAPTransport::setCipherSuites ( const char *  cipherlist  )  [pure virtual]

Set an expression identifying the cipher suites to enable using OpenSSL syntax.

Parameters:
cipherlist cipher suite expression/list
Returns:
true iff the ciphers were set

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

Set indicator that the transport peer has been authenticated.

Parameters:
auth flag to set


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

Generated on Fri Jan 12 14:37:09 2018 for xmltooling by  doxygen 1.5.6