xmltooling::OpenSSLSOAPTransport Class Reference

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

#include <xmltooling/soap/OpenSSLSOAPTransport.h>

Inheritance diagram for xmltooling::OpenSSLSOAPTransport:
Inheritance graph
[legend]
Collaboration diagram for xmltooling::OpenSSLSOAPTransport:
Collaboration graph
[legend]

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=NULL)=0
 Sets a callback function to invoke against the SSL_CTX before the handshake.
virtual void setAuthenticated (bool auth)=0
 Sets 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]

Sets indicator that the transport peer has been authenticated.

Parameters:
auth flag to set
virtual bool xmltooling::OpenSSLSOAPTransport::setSSLCallback ( ssl_ctx_callback_fn  fn,
void *  userptr = NULL 
) [pure virtual]

Sets 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 by  doxygen 1.6.2