- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for SuiteId (0.16 sec)
-
samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 842 bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/Client.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 883 bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 1.6K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 2K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 2.5K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 1.7K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0)