|
activemq-cpp-3.6.0
|
Provides an SSLContext that wraps the OpenSSL API. More...
#include <src/main/decaf/internal/net/ssl/openssl/OpenSSLContextSpi.h>

Public Member Functions | |||||||
| OpenSSLContextSpi () | |||||||
| virtual | ~OpenSSLContextSpi () | ||||||
| virtual void | providerInit (security::SecureRandom *random) | ||||||
Perform the initialization of this Context.
| |||||||
| virtual decaf::net::SocketFactory * | providerGetSocketFactory () | ||||||
Returns a SocketFactory instance that can be used to create new SSLSocket objects.The SocketFactory is owned by the Service Provider and should not be destroyed by the caller.
| |||||||
| virtual decaf::net::ServerSocketFactory * | providerGetServerSocketFactory () | ||||||
Returns a ServerSocketFactory instance that can be used to create new SSLServerSocket objects.The ServerSocketFactory is owned by the Service Provider and should not be destroyed by the caller.
| |||||||
Public Member Functions inherited from decaf::net::ssl::SSLContextSpi | |||||||
| virtual | ~SSLContextSpi () | ||||||
| virtual SSLParameters * | providerGetDefaultSSLParameters () | ||||||
| Creates a returns a new SSLParameters instance that contains the default settings for this Providers SSLContext. | |||||||
| virtual SSLParameters * | providerGetSupportedSSLParameters () | ||||||
| Creates and returns a new SSLParameters instance that contains the full set of supported parameters for this SSL Context. | |||||||
Friends | |
| class | OpenSSLSocket |
| class | OpenSSLSocketFactory |
Provides an SSLContext that wraps the OpenSSL API.
| decaf::internal::net::ssl::openssl::OpenSSLContextSpi::OpenSSLContextSpi | ( | ) |
|
virtual |
|
virtual |
Returns a ServerSocketFactory instance that can be used to create new SSLServerSocket objects.The ServerSocketFactory is owned by the Service Provider and should not be destroyed by the caller.
| IllegalStateException | if the SSLContextSpi object requires initialization but has not been initialized yet. |
Implements decaf::net::ssl::SSLContextSpi.
|
virtual |
Returns a SocketFactory instance that can be used to create new SSLSocket objects.The SocketFactory is owned by the Service Provider and should not be destroyed by the caller.
| IllegalStateException | if the SSLContextSpi object requires initialization but has not been initialized yet. |
Implements decaf::net::ssl::SSLContextSpi.
|
virtual |
Perform the initialization of this Context.
| random | Pointer to an instance of a secure random number generator. |
| NullPointerException | if the SecureRandom instance is NULL. |
| KeyManagementException | if an error occurs while initializing the context. |
Implements decaf::net::ssl::SSLContextSpi.
|
friend |
|
friend |