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.
| ||||||||||
Friends | ||||||||||
| class | OpenSSLSocket | |||||||||
| class | OpenSSLSocketFactory | |||||||||
Provides an SSLContext that wraps the OpenSSL API.
| decaf::internal::net::ssl::openssl::OpenSSLContextSpi::OpenSSLContextSpi | ( | ) |
| virtual decaf::internal::net::ssl::openssl::OpenSSLContextSpi::~OpenSSLContextSpi | ( | ) | [virtual] |
| virtual decaf::net::ServerSocketFactory* decaf::internal::net::ssl::openssl::OpenSSLContextSpi::providerGetServerSocketFactory | ( | ) | [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 decaf::net::SocketFactory* decaf::internal::net::ssl::openssl::OpenSSLContextSpi::providerGetSocketFactory | ( | ) | [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 void decaf::internal::net::ssl::openssl::OpenSSLContextSpi::providerInit | ( | security::SecureRandom * | random | ) | [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 class OpenSSLSocket [friend] |
friend class OpenSSLSocketFactory [friend] |
1.6.1