Defines the interface that should be provided by an SSLContext provider.
More...
#include <src/main/decaf/net/ssl/SSLContextSpi.h>
Detailed Description
Defines the interface that should be provided by an SSLContext provider.
- Since
- 1.0
Constructor & Destructor Documentation
virtual decaf::net::ssl::SSLContextSpi::~SSLContextSpi |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual SSLParameters* decaf::net::ssl::SSLContextSpi::providerGetDefaultSSLParameters |
( |
| ) |
|
|
virtual |
Creates a returns a new SSLParameters instance that contains the default settings for this Providers SSLContext.
The returned SSLParameters instance is requires to have non-empty values in its ciphersuites and protocols.
- Returns
- new SSLParameters instance with the SSLContext defaults.
- Exceptions
-
UnsupportedOperationException | if the defaults cannot be obtained. |
virtual ServerSocketFactory* decaf::net::ssl::SSLContextSpi::providerGetServerSocketFactory |
( |
| ) |
|
|
pure virtual |
virtual SocketFactory* decaf::net::ssl::SSLContextSpi::providerGetSocketFactory |
( |
| ) |
|
|
pure virtual |
virtual SSLParameters* decaf::net::ssl::SSLContextSpi::providerGetSupportedSSLParameters |
( |
| ) |
|
|
virtual |
Creates and returns a new SSLParameters instance that contains the full set of supported parameters for this SSL Context.
The returned SSLParameters instance is requires to have non-empty values in its ciphersuites and protocols.
- Returns
- a new SSLParameters instance with the full set of settings that are supported.
- Exceptions
-
UnsupportedOperationException | if the supported parameters cannot be obtained. |
Perform the initialization of this Context.
- Parameters
-
random | Pointer to an instance of a secure random number generator. |
- Exceptions
-
NullPointerException | if the SecureRandom instance is NULL. |
KeyManagementException | if an error occurs while initializing the context. |
Implemented in decaf::internal::net::ssl::openssl::OpenSSLContextSpi.
The documentation for this class was generated from the following file: