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, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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 © 2019. All rights reserved.