Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SuiteID (0.19 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    import okio.ByteString
    
    data class SuiteId(val id: ByteString?, val name: String) {
      fun matches(suiteId: SuiteId): Boolean {
        return id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 842 bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/Client.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    data class Client(
      val userAgent: String,
      val version: String,
      val platform: String? = null,
      val enabled: List<SuiteId> = listOf(),
      val supported: List<SuiteId> = listOf(),
    ) {
      val nameAndVersion: String
        get() = "$userAgent/$version"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 883 bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
            if (index == -1) Integer.MAX_VALUE else index
          }
        for (suiteId in sortedSuites) {
          print(suiteId.name)
          for (client in clients) {
            print("\t")
            val index = client.enabled.indexOfFirst { it.matches(suiteId) }
            if (index != -1) {
              print(index + 1)
            }
          }
          println()
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId {
        return suites.firstOrNull {
          it.name == javaName || it.name == "TLS_${javaName.drop(4)}"
        } ?: throw IllegalArgumentException("No such suite: $javaName")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/crypto/internal/hpke/hpke.go

    	return ciphertext, nil
    }
    
    func SuiteID(kemID, kdfID, aeadID uint16) []byte {
    	suiteID := make([]byte, 0, 4+2+2+2)
    	suiteID = append(suiteID, []byte("HPKE")...)
    	suiteID = binary.BigEndian.AppendUint16(suiteID, kemID)
    	suiteID = binary.BigEndian.AppendUint16(suiteID, kdfID)
    	suiteID = binary.BigEndian.AppendUint16(suiteID, aeadID)
    	return suiteID
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/results/StateTrackingTestResultProcessorTest.groovy

            given:
            def suite = new DefaultTestSuiteDescriptor("suiteId", "FastTests");
            def test = new DefaultTestDescriptor("testId", "DogTest", "shouldBarkAtStrangers");
            def startEvent = new TestStartEvent(100L)
            def testStartEvent = new TestStartEvent(100L, "suiteId")
            def testCompleteEvent = new TestCompleteEvent(200L)
            def completeEvent = new TestCompleteEvent(300L)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

     */
    package okhttp3.survey
    
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.ConnectionSpec
    import okhttp3.OkHttp
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    fun currentOkHttp(ianaSuites: IanaSuites): Client {
      return Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestResultProcessorAdapter.java

            TestDescriptorInternal testInternal;
            synchronized (lock) {
                if (suiteId.containsKey(suite)) {
                    // Can get duplicate start events
                    return;
                }
                Object id = idGenerator.generateId();
                testInternal = new DefaultTestSuiteDescriptor(id, suite.getName());
                suiteId.put(suite, testInternal.getId());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

     * limitations under the License.
     */
    package okhttp3.survey.ssllabs
    
    import com.squareup.moshi.Moshi
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import retrofit2.Retrofit
    import retrofit2.converter.moshi.MoshiConverterFactory
    
    class SslLabsClient(
      callFactory: Call.Factory,
    ) {
      private val moshi = Moshi.Builder().build()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

     */
    package okhttp3.survey
    
    import java.security.Security
    import okhttp3.Cache
    import okhttp3.OkHttpClient
    import okhttp3.survey.ssllabs.SslLabsClient
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    @Suppress("ktlint:standard:property-naming")
    suspend fun main() {
      val includeConscrypt = false
    
      val client =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top