Modifier and Type | Field and Description |
---|---|
static CertificatePinner |
CertificatePinner.DEFAULT |
Modifier and Type | Method and Description |
---|---|
CertificatePinner |
CertificatePinner.Builder.build() |
CertificatePinner |
OkHttpClient.certificatePinner() |
CertificatePinner |
Address.certificatePinner()
Returns this address's certificate pinner, or null if this is not an HTTPS address.
|
Modifier and Type | Method and Description |
---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.certificatePinner(CertificatePinner certificatePinner)
Sets the certificate pinner that constrains which certificates are trusted.
|
Constructor and Description |
---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2019. All rights reserved.