| Package | Description |
|---|---|
| net.webpdf.wsclient.https | |
| net.webpdf.wsclient.session |
| Modifier and Type | Method and Description |
|---|---|
static TLSContext |
TLSContext.createDefault()
Static factory method, to create a fresh instance of this class with default values.
|
TLSContext |
TLSContext.setAllowSelfSigned(boolean allowSelfSigned)
When set to true self signed certificates will be accepted.
|
TLSContext |
TLSContext.setProtocol(TLSProtocol protocol)
Sets the TLS version, that shall be used.
|
TLSContext |
TLSContext.setTrustStore(File trustStore)
Sets the trust store file.
|
TLSContext |
TLSContext.setTrustStore(File trustStore,
String trustStorePassword)
Sets the trust store file and the trust store password.
|
| Modifier and Type | Method and Description |
|---|---|
TLSContext |
Session.getTlsContext()
Returns the currently set TLS context.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Session> |
SessionFactory.createInstance(WebServiceProtocol webServiceProtocol,
URL url,
TLSContext tlsContext)
Creates a session based on the given
WebServiceProtocol to the server at the given URL. |
Copyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.