public class ClientTLSSecurityParametersContext extends BaseContext
X509Credential instances.BaseContext.ContextSetNoRemoveIteratorDecorator| Modifier and Type | Field and Description |
|---|---|
private boolean |
evaluateClientCertificate
Flag indicating whether to evaluate the certificate presented by the TLS client.
|
private ClientTLSValidationParameters |
validationParameters
A
ClientTLSValidationParameters instance. |
| Constructor and Description |
|---|
ClientTLSSecurityParametersContext() |
| Modifier and Type | Method and Description |
|---|---|
ClientTLSValidationParameters |
getValidationParameters()
Get an instance of
ClientTLSValidationParameters. |
boolean |
isEvaluateClientCertificate()
Determine whether to evaluate the certificate presented by the TLS client.
|
void |
setEvaluateClientCertificate(boolean flag)
Set whether to evaluate the certificate presented by the TLS client.
|
void |
setValidationParameters(ClientTLSValidationParameters params)
Set an instance of
ClientTLSValidationParameters. |
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nullable private ClientTLSValidationParameters validationParameters
ClientTLSValidationParameters instance.private boolean evaluateClientCertificate
public boolean isEvaluateClientCertificate()
Defaults to: true
public void setEvaluateClientCertificate(boolean flag)
Defaults to: true
flag - true if should evaluate, false otherwise@Nullable public ClientTLSValidationParameters getValidationParameters()
ClientTLSValidationParameters.public void setValidationParameters(@Nullable ClientTLSValidationParameters params)
ClientTLSValidationParameters.params - the parameters instance to set, may be nullCopyright © 1999–2015. All rights reserved.