Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SuiteId (0.16 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)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 842 bytes
    - Viewed (0)
  2. 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")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. 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()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. 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()
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. 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"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 883 bytes
    - Viewed (0)
  6. 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,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsScrape.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 SslLabsScraper(
      private val callFactory: Call.Factory,
    ) {
      private val moshi = Moshi.Builder().build()
    
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. 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 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. README.md

    ## Container Installation
    
    Use the following commands to run a standalone MinIO server as a container.
    
    Standalone MinIO servers are best suited for early development and evaluation. Certain features such as versioning, object locking, and bucket replication
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 17:51:34 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

            return (d.getScope() == null || d.getScope().isEmpty()) ? d.withScope("compile") : d;
        }
    
        /**
         * Returns a list suited for the builders, i.e. null if not modified
         */
        private <T> List<T> injectList(List<T> list, Function<T, T> modifer) {
            List<T> newList = null;
            for (int i = 0; i < list.size(); i++) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top