JavaScript is disabled on your browser.
Description
Nested Class Summary
Enum Constant Summary
Field Summary
Constructor Summary
Method Summary
Enum Constant Details
DISABLE
ALLOW
PREFER
REQUIRE
VERIFY_CA
VERIFY_FULL
Field Details
VALUES
value
Constructor Details
SslMode(String)
Method Details
values()
valueOf(String)
requireEncryption()
verifyCertificate()
verifyPeerName()
of(Properties)
Enum Constant Summary
Enum Constants
Start with non-encrypted connection, then try encrypted one.
Do not use encrypted connections.
Start with encrypted connection, fallback to non-encrypted (default).
Ensure connection is encrypted.
Ensure connection is encrypted, and client trusts server certificate.
Ensure connection is encrypted, client trusts server certificate, and server hostname matches
the one listed in the server certificate.
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
boolean
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
boolean
boolean
Methods inherited from class Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf