- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for authority (0.26 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
val value: Any?, ) @IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods. internal data class BasicConstraints( /** True if this certificate can be used as a Certificate Authority (CA). */ val ca: Boolean, /** The maximum number of intermediate CAs between this and leaf certificates. */ val maxIntermediateCas: Long?, )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
hpackWriter!!.writeHeaders(headerEntries(":authority", "foo.com")) assertBytes(0x41, 7, 'f'.code, 'o'.code, 'o'.code, '.'.code, 'c'.code, 'o'.code, 'm'.code) assertThat(hpackWriter!!.headerCount).isEqualTo(1) hpackWriter!!.writeHeaders(headerEntries(":authority", "foo.com")) assertBytes(0xbe) assertThat(hpackWriter!!.headerCount).isEqualTo(1)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt
const val RESPONSE_STATUS_UTF8 = ":status" const val TARGET_METHOD_UTF8 = ":method" const val TARGET_PATH_UTF8 = ":path" const val TARGET_SCHEME_UTF8 = ":scheme" const val TARGET_AUTHORITY_UTF8 = ":authority" @JvmField val RESPONSE_STATUS: ByteString = RESPONSE_STATUS_UTF8.encodeUtf8() @JvmField val TARGET_METHOD: ByteString = TARGET_METHOD_UTF8.encodeUtf8()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* ``` * * In this example the HTTP client already knows and trusts the last certificate, "Entrust Root * Certification Authority - G2". That certificate is used to verify the signature of the * intermediate certificate, "Entrust Certification Authority - L1M". The intermediate certificate * is used to verify the signature of the "www.squareup.com" certificate. *
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) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7ILaZRfyHB NVOFBkpdn627G190 -----END CERTIFICATE----- """.trimIndent().decodeCertificatePem() // CN=Entrust Root Certification Authority, OU="(c) 2006 Entrust, Inc.", OU=www.entrust.net/CPS is incorporated by reference, O="Entrust, Inc.", C=US val entrustRootCertificateAuthority = """ -----BEGIN CERTIFICATE-----
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.8K bytes - Viewed (5) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
path = "/" } this.path = path val scheme = if (socket is SSLSocket) "https" else "http" val localPort = socket.localPort val hostAndPort = headers[":authority"] ?: headers["Host"] ?: when (val inetAddress = socket.localAddress) { is Inet6Address -> "[${inetAddress.hostAddress}]:$localPort" else -> "${inetAddress.hostAddress}:$localPort"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 3.8K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/CallTest.kt
assertThat(connect.headers["Host"]).isEqualTo("[::1]:$port") assertThat(connect.headers[":authority"]).isNull() val get = server.takeRequest() assertThat(get.requestLine).isEqualTo("GET / HTTP/1.1") assertThat(get.headers["Host"]).isEqualTo("[::1]:$port") assertThat(get.headers[":authority"]).isNull() assertThat(get.requestUrl).isEqualTo(url) } @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersRequestTest.kt
.header("Host", "square.com") .header("TE", "gzip") .build() val expected = headerEntries( ":method", "GET", ":path", "/", ":authority", "square.com", ":scheme", "http", ) assertThat(http2HeadersList(request)).isEqualTo(expected) } @Test fun http2HeadersListDontDropTeIfTrailersHttp2() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* * The server’s TLS certificate **does not need to be signed** by a trusted certificate * authority. Instead, it will trust any well-formed certificate, even if it is self-signed. * This is necessary for testing against localhost or in development environments where a * certificate authority is not possible. * * The server’s TLS certificate still must match the requested hostname. For example, if the
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt
/** * Describes the request that the server intends to push a response for. * * @param streamId server-initiated stream ID: an even number. * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, * and `:path`. */ fun onRequest( streamId: Int, requestHeaders: List<Header>, ): Boolean /** * The response headers corresponding to a pushed request. When [last] is true, there are
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (0)