Modifier and Type | Field | Description |
---|---|---|
static CertificatePinner |
CertificatePinner.DEFAULT |
Modifier and Type | Method | Description |
---|---|---|
CertificatePinner |
CertificatePinner.Builder.build() |
|
CertificatePinner |
Address.certificatePinner() |
Returns this address's certificate pinner, or null if this is not an HTTPS address.
|
CertificatePinner |
OkHttpClient.certificatePinner() |
Modifier and Type | Method | Description |
---|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.certificatePinner(CertificatePinner certificatePinner) |
Sets the certificate pinner that constrains which certificates are trusted.
|
Constructor | 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 © 2020. All rights reserved.