| Modifier and Type | Method and Description |
|---|---|
static TlsVersion |
TlsVersion.forJavaName(java.lang.String javaName) |
TlsVersion |
Handshake.tlsVersion()
Returns the TLS version used for this connection.
|
static TlsVersion |
TlsVersion.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TlsVersion[] |
TlsVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TlsVersion> |
ConnectionSpec.tlsVersions()
Returns the TLS versions to use when negotiating a connection.
|
| Modifier and Type | Method and Description |
|---|---|
static Handshake |
Handshake.get(TlsVersion tlsVersion,
CipherSuite cipherSuite,
java.util.List<java.security.cert.Certificate> peerCertificates,
java.util.List<java.security.cert.Certificate> localCertificates) |
ConnectionSpec.Builder |
ConnectionSpec.Builder.tlsVersions(TlsVersion... tlsVersions) |
Copyright © 2017. All Rights Reserved.