- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for validi (0.25 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
// 3. "disallowed_STD3_valid ".encodeUtf8(), // 4. "ignored ".encodeUtf8(), // 5. "mapped ".encodeUtf8(), // 6. "valid ".encodeUtf8(), ) internal const val TYPE_DEVIATION = 0 internal const val TYPE_DISALLOWED = 1 internal const val TYPE_DISALLOWED_STD3_MAPPED = 2 internal const val TYPE_DISALLOWED_STD3_VALID = 3 internal const val TYPE_IGNORED = 4
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
/** This is a integer enum. Use 0L for v1, 1L for v2, and 2L for v3. */ val version: Long, val serialNumber: BigInteger, val signature: AlgorithmIdentifier, val issuer: List<List<AttributeTypeAndValue>>, val validity: Validity, val subject: List<List<AttributeTypeAndValue>>, val subjectPublicKeyInfo: SubjectPublicKeyInfo, val issuerUniqueID: BitString?, val subjectUniqueID: BitString?, val extensions: List<Extension>, ) {
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-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
data class Constant( override val rangeStart: Int, val type: Int, ) : MappedRange { val b1: Int get() = when (type) { TYPE_IGNORED -> 119 TYPE_VALID -> 120 TYPE_DISALLOWED -> 121 else -> error("unexpected type: $type") } } data class Inline1( override val rangeStart: Int, private val mappedTo: ByteString,
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/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
} } return result.readUtf8() } /** * Converts a single label from Punycode to Unicode. * * @return true if the range of [string] from [pos] to [limit] was valid and decoded successfully. * Otherwise, the decode failed. */ private fun decodeLabel( string: String, pos: Int, limit: Int, result: Buffer, ): Boolean {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 03:04:50 GMT 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
/** 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 * label is longer than 63 characters. Trailing dots are okay. */ internal fun String.containsInvalidLabelLengths(): Boolean { if (length !in 1..253) return true
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) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
.isEqualTo("http://a$dotA126/") assertInvalid("http://aa$dotA126/", "Invalid URL host: \"aa$dotA126\"") } /** * UTS 46 Validity Criteria: Decoded punycode must be NFC. * * https://www.unicode.org/reports/tr46/#Validity_Criteria */ @Test fun hostnameInPunycodeNfcAndNfd() { // café can be NFC (é is one code point) or NFD (e plus ´ as two code points).
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
containing an IP address we must match that address against the URL's IP address, even when the two addresses are encoded differently, such as `192.168.1.1` and `0::0:0:FFFF:C0A8:101`. Note that OkHttp incorrectly rejected valid certificates resulting in a failure to connect; at no point were invalid certificates accepted. * New: `OkHttpClient.Builder.minWebSocketMessageToCompress()` configures a threshold for
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-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
), ) return result } private fun validity(): Validity { val notBefore = if (notBefore != -1L) notBefore else System.currentTimeMillis() val notAfter = if (notAfter != -1L) notAfter else notBefore + DEFAULT_DURATION_MILLIS return Validity( notBefore = notBefore, notAfter = notAfter, ) }
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) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
* * If multiple patterns match a hostname, any match is sufficient. For example, suppose pin A * applies to `*.publicobject.com` and pin B applies to `api.publicobject.com`. Handshakes for * `api.publicobject.com` are valid if either A's or B's certificate is in the chain. * * ## Warning: Certificate Pinning is Dangerous! * * Pinning certificates limits your server team's abilities to update their TLS certificates. By
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.2K bytes - Viewed (1) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.post("Uncompressed".toRequestBody().gzip()) .build(), ).execute() val responseBody = response.body assertThat(responseBody.string(), "Expected response body to be valid") .isEqualTo("Uncompressed") responseBody.close() networkLogs .assertLogEqual("--> POST $url http/1.1") .assertLogEqual("Content-Encoding: gzip")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0)