public class JsseSSLManager extends SSLManager
Modifier and Type | Field | Description |
---|---|---|
static int |
CPS |
Characters per second, used to slow down sockets
|
defaultpw, JAVAX_NET_SSL_KEY_STORE
Constructor | Description |
---|---|
JsseSSLManager(Provider provider) |
Create the SSLContext, and wrap all the X509KeyManagers with
our X509KeyManager so that we can choose our alias.
|
Modifier and Type | Method | Description |
---|---|---|
SSLContext |
getContext() |
Returns the SSLContext we are using.
|
void |
resetContext() |
Resets the SSLContext if using per-thread contexts.
|
void |
setContext(HttpURLConnection conn) |
Sets the Context attribute of the JsseSSLManager object
|
protected void |
setProvider(Provider p) |
Sets the Provider attribute of the JsseSSLManager object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureKeystore, destroyKeystore, getInstance, getKeyStore, getTrustStore, isSSLSupported, reset
public JsseSSLManager(Provider provider)
provider
- Description of Parameterpublic void setContext(HttpURLConnection conn)
setContext
in class SSLManager
conn
- The new Context valueprotected final void setProvider(Provider p)
setProvider
in class SSLManager
p
- The new Provider valuepublic SSLContext getContext() throws GeneralSecurityException
GeneralSecurityException
- when constructing the context failspublic void resetContext()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.