| Modifier and Type | Method | Description |
|---|---|---|
static TlsVersion |
TlsVersion.forJavaName(String javaName) |
|
TlsVersion |
Handshake.tlsVersion() |
Returns the TLS version used for this connection.
|
static TlsVersion |
TlsVersion.valueOf(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 | Description |
|---|---|---|
List<TlsVersion> |
ConnectionSpec.tlsVersions() |
Returns the TLS versions to use when negotiating a connection.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Handshake |
Handshake.get(TlsVersion tlsVersion,
CipherSuite cipherSuite,
List<Certificate> peerCertificates,
List<Certificate> localCertificates) |
|
ConnectionSpec.Builder |
ConnectionSpec.Builder.tlsVersions(TlsVersion... tlsVersions) |
Copyright © 2021. All rights reserved.