- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for name (0.12 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
get() = "Dalvik" == System.getProperty("java.vm.name") private val isConscryptPreferred: Boolean get() { val preferredProvider = Security.getProviders()[0].name return "Conscrypt" == preferredProvider } private val isOpenJSSEPreferred: Boolean get() { val preferredProvider = Security.getProviders()[0].name return "OpenJSSE" == preferredProvider }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
val heldCertificate = HeldCertificate.Builder().build() val certificate = heldCertificate.certificate assertThat(certificate.getSubjectX500Principal().name, "self-signed") .isEqualTo(certificate.getIssuerX500Principal().name) assertThat(certificate.getIssuerX500Principal().name).matches(Regex("CN=[0-9a-f-]{36}")) assertThat(certificate.serialNumber).isEqualTo(BigInteger.ONE) assertThat(certificate.subjectAlternativeNames).isNull()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 22.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
} } } } fun redactHeader(name: String) { val newHeadersToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER) newHeadersToRedact += headersToRedact newHeadersToRedact += name headersToRedact = newHeadersToRedact } fun redactQueryParams(vararg name: String) { val newQueryParamsNameToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
derWriter.write( name = "test", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 16L, ) { derWriter.write( name = "test", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 21L, ) { derWriter.writeOctetString("Smith".encodeUtf8()) } derWriter.write( name = "test",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
* verification). */ private val VERIFY_AS_IP_ADDRESS = "([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\\d.]+)".toRegex() /** Returns true if this string is not a host name and might be an IP address. */ fun String.canParseAsIpAddress(): Boolean = VERIFY_AS_IP_ADDRESS.matches(this) /** * Returns true if the length is not valid for DNS (empty or greater than 253 characters), or if any
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
Android 10. Android uses reflection to look up a magic `checkServerTrusted()` method and we didn't have it. * Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In 4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5. ## Version 4.3.0 _2019-12-31_
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
) = commonAdd(name, value) /** * Add a header with the specified name and value. Does validation of header names, allowing * non-ASCII values. */ fun addUnsafeNonAscii( name: String, value: String, ) = apply { headersCheckName(name) addLenient(name, value) } /** * Adds all headers from an existing collection. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
fun setHeader( name: String, value: Any, ) = apply { removeHeader(name) addHeader(name, value) } /** Removes all headers named [name]. */ fun removeHeader(name: String) = apply { headers.removeAll(name) } fun body(body: Buffer) = body(body.toMockResponseBody())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 13.3K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Response.kt
this.handshake = handshake } /** * Sets the header named [name] to [value]. If this request already has any headers * with that name, they are all replaced. */ open fun header( name: String, value: String, ) = commonHeader(name, value) /** * Adds a header with [name] to [value]. Prefer this method for multiply-valued * headers like "Set-Cookie".
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 15.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* TLS: * * * **A common name.** This is a string identifier for the certificate. It usually describes the * purpose of the certificate like "Entrust Root Certification Authority - G2" or * "www.squareup.com". * * * **A set of hostnames.** These are in the certificate's subject alternative name (SAN) * extension. A subject alternative name is either a literal hostname (`squareup.com`), a literal
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1)