- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 737 for vals (0.02 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
} // https://github.com/bcgit/bc-java/issues/1160 val isBouncyCastle = keyStore.provider.name == "BC" val algorithm = if (isBouncyCastle) "PKIX" else KeyManagerFactory.getDefaultAlgorithm() val factory = KeyManagerFactory.getInstance(algorithm) factory.init(keyStore, password) val result = factory.keyManagers!! check(result.size == 1 && result[0] is X509KeyManager) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
var pos = cookiePairEnd + 1 val limit = setCookie.length while (pos < limit) { val attributePairEnd = setCookie.delimiterOffset(';', pos, limit) val attributeEqualsSign = setCookie.delimiterOffset('=', pos, attributePairEnd) val attributeName = setCookie.trimSubstring(pos, attributeEqualsSign) val attributeValue = if (attributeEqualsSign < attributePairEnd) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val value: String = cookie.value() val persistent: Boolean = cookie.persistent() val expiresAt: Long = cookie.expiresAt() val hostOnly: Boolean = cookie.hostOnly() val domain: String = cookie.domain() val path: String = cookie.path() val httpOnly: Boolean = cookie.httpOnly() val secure: Boolean = cookie.secure() } @Test @Disabled fun formBody() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
*/ public static void toHexChars(int val, final char dst[], final int dstIndex, int size) { while (size > 0) { final int i = dstIndex + size - 1; if (i < dst.length) { dst[i] = HEX_DIGITS[val & 0x000F]; } if (val != 0) { val >>>= 4; } size--; } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt
assertThat(expected).hasMessage("cipherSuite == TLS_NULL_WITH_NULL_NULL") } } class FakeSSLSession( private val protocol: String, private val cipherSuite: String, private val peerCertificates: Array<Certificate>?, private val localCertificates: Array<Certificate>?, ) : DelegatingSSLSession(null) { override fun getProtocol() = protocol
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
headers = mapOf("" to "").toHeaders() val get: String? = headers[""] val date: Date? = headers.getDate("") val instant: Instant? = headers.getInstant("") val size: Int = headers.size val name: String = headers.name(0) val value: String = headers.value(0) val names: Set<String> = headers.names() val values: List<String> = headers.values("") val byteCount: Long = headers.byteCount()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
cmd/admin-handlers-idp-config.go
ctx := r.Context() objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction) if objectAPI == nil { return } idpCfgType := mux.Vars(r)["type"] cfgName := mux.Vars(r)["name"] password := cred.SecretKey if !madmin.ValidIDPConfigTypes.Contains(idpCfgType) { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigInvalidIDPType), r.URL) return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
@Timeout(30) @Tag("Slowish") class ServerTruncatesRequestTest { @RegisterExtension @JvmField val platform = PlatformRule() @RegisterExtension @JvmField var clientTestRule = OkHttpClientTestRule() private val listener = RecordingEventListener() private val handshakeCertificates = platform.localhostHandshakeCertificates() private var client = clientTestRule
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
private val organizationName = "2.5.4.10" private val businessCategory = "2.5.4.15" private val subjectKeyIdentifier = "2.5.29.14" private val keyUsage = "2.5.29.15" private val crlDistributionPoints = "2.5.29.31" private val certificatePolicies = "2.5.29.32" private val authorityKeyIdentifier = "2.5.29.35" private val extendedKeyUsage = "2.5.29.37" @Test fun `decode simple certificate`() { val certificateBase64 =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 43.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
import okio.buffer import okio.use import org.junit.jupiter.api.Test class RequestTest { @Test fun constructor() { val url = "https://example.com/".toHttpUrl() val body = "hello".toRequestBody() val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method, body = body, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0)