Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for subjectAltName (0.2 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

      }
    
      @Test fun subjectAltName() {
        // $ cat ./cert.cnf
        // [req]
        // distinguished_name=distinguished_name
        // req_extensions=req_extensions
        // x509_extensions=x509_extensions
        // [distinguished_name]
        // [req_extensions]
        // [x509_extensions]
        // subjectAltName=DNS:bar.com,DNS:baz.com
        //
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          val result = mutableListOf<String>()
          for (subjectAltName in subjectAltNames) {
            if (subjectAltName == null || subjectAltName.size < 2) continue
            if (subjectAltName[0] != type) continue
            val altName = subjectAltName[1] ?: continue
            result.add(altName as String)
          }
          return result
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

      internal val generalName: DerAdapter<Pair<DerAdapter<*>, Any?>> =
        Adapters.choice(
          generalNameDnsName,
          generalNameIpAddress,
          Adapters.ANY_VALUE,
        )
    
      /**
       * ```
       * SubjectAltName ::= GeneralNames
       *
       * GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
       * ```
       */
      private val subjectAlternativeName: BasicDerAdapter<List<Pair<DerAdapter<*>, Any?>>> =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top