Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for iana (0.16 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    import okio.IOException
    
    /** Example: "0x00,0x08",TLS_RSA_EXPORT_WITH_DES40_CBC_SHA,Y,N,[RFC4346] */
    val IANA_CSV_PATTERN = "\"0x(\\w\\w),0x(\\w\\w)\",(\\w+).*".toRegex()
    
    fun parseIanaCsvRow(s: String): SuiteId? {
      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       */
      HTTP_3("h3"),
      ;
    
      /**
       * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or
       * "h2".
       *
       * See also [IANA tls-extensiontype-values][iana].
       *
       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

     [fun_interface]: https://kotlinlang.org/docs/reference/fun-interfaces.html
     [iana_websocket]: https://www.iana.org/assignments/websocket/websocket.txt
     [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
     [kotlin_1_3_71]: https://github.com/JetBrains/kotlin/releases/tag/v1.3.71
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

      }
    
      /** Confirm we didn't corrupt any data in code generation. */
      @Test fun compareConstructedAndGeneratedCompactTables() {
        assertThat(IDNA_MAPPING_TABLE.sections).isEqualTo(compactTable.sections)
        assertThat(IDNA_MAPPING_TABLE.ranges).isEqualTo(compactTable.ranges)
        assertThat(IDNA_MAPPING_TABLE.mappings).isEqualTo(compactTable.mappings)
      }
    
      private fun String.map(): String {
        val buffer = Buffer()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import okio.BufferedSink
    
    /**
     * An IDNA mapping table optimized for small code and data size.
     *
     * Code Points in Sections
     * =======================
     *
     * The full range of code points is 0..0x10fffe. We can represent any of these code points with 21
     * bits.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // uol : 2014-05-01 UBN INTERNET LTDA.
    uol
    
    // ups : 2015-06-25 UPS Market Driver, Inc.
    ups
    
    // vacations : 2013-12-05 Binky Moon, LLC
    vacations
    
    // vana : 2014-12-11 Lifestyle Domain Holdings, Inc.
    vana
    
    // vanguard : 2015-09-03 The Vanguard Group, Inc.
    vanguard
    
    // vegas : 2014-01-16 Dot Vegas, Inc.
    vegas
    
    // ventures : 2013-08-27 Binky Moon, LLC
    ventures
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  7. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

     * See [JDK Providers][oracle_providers] which lists the cipher suites supported by Oracle.
     *
     * See [NativeCrypto.java][conscrypt_providers] which lists the cipher suites supported by
     * Conscrypt.
     *
     * [iana_tls_parameters]: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml
     * [sslengine]: https://developer.android.com/reference/javax/net/ssl/SSLEngine.html
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      if (decoded != normalizeNfc(decoded)) return null
    
      // TODO: Must not begin with a combining mark.
      // TODO: Each character must be 'valid' or 'deviation'. Not mapped.
      // TODO: CheckJoiners from IDNA 2008
      // TODO: CheckBidi from IDNA 2008, RFC 5893, Section 2.
    
      return Punycode.encode(decoded)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    /**
     * A decoded [mapping table] that can perform the [mapping step] of IDNA processing.
     *
     * This implementation is optimized for readability over efficiency.
     *
     * This implements non-transitional processing by preserving deviation characters.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

      val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath()
      val table =
        FileSystem.RESOURCES.read(path) {
          readPlainTextIdnaMappingTable()
        }
      return buildIdnaMappingTableData(table)
    }
    
    /**
     * Generate a file containing the mapping table's string literals, like this:
     *
     * ```
     * internal val IDNA_MAPPING_TABLE: IdnaMappingTable = IdnaMappingTable(
     *   sections = "...",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top