public class ClientTLSSecurityParametersContext extends BaseContext
X509Credential instances.BaseContext.ContextSetNoRemoveIteratorDecorator| 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, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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 © 2021. All rights reserved.