public class SecureModeConfig
extends java.lang.Object
| Constructor and Description |
|---|
SecureModeConfig()
< Validate peer certificate.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSecureModeEnabled() |
boolean |
isValidatePeerCertificateEnabled() |
void |
setSecureMode(boolean secureMode) |
void |
setValidatePeerCerticate(boolean validatePeerCertificate) |
public SecureModeConfig()
public boolean isSecureModeEnabled()
public void setSecureMode(boolean secureMode)
secureMode - Indicates whether secure connection is required. Remaining parameters take effect only if secureMode is truepublic boolean isValidatePeerCertificateEnabled()
public void setValidatePeerCerticate(boolean validatePeerCertificate)
validatePeerCertificate - Validate peer certificate. If true, reader certificate is validated against root certificate