Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Alternatives (0.17 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/ObjectIdentifiers.kt

      const val SHA256_WITH_ECDSA = "1.2.840.10045.4.3.2"
      const val RSA_ENCRYPTION = "1.2.840.113549.1.1.1"
      const val SHA256_WITH_RSA_ENCRYPTION = "1.2.840.113549.1.1.11"
      const val SUBJECT_ALTERNATIVE_NAME = "2.5.29.17"
      const val BASIC_CONSTRAINTS = "2.5.29.19"
      const val COMMON_NAME = "2.5.4.3"
      const val ORGANIZATIONAL_UNIT_NAME = "2.5.4.11"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

            ?.value
        }
    
      val subjectAlternativeNames: Extension?
        get() {
          return tbsCertificate.extensions.firstOrNull {
            it.id == ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME
          }
        }
    
      val basicConstraints: Extension
        get() {
          return tbsCertificate.extensions.first {
            it.id == ObjectIdentifiers.BASIC_CONSTRAINTS
          }
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(bytes)
        assertThat(CertificateAdapters.extension.fromDer(bytes))
          .isEqualTo(extension)
      }
    
      @Test fun `extension with type hint for subject alternative names`() {
        val extension =
          Extension(
            SUBJECT_ALTERNATIVE_NAME,
            false,
            listOf(
              generalNameDnsName to "cash.app",
              generalNameDnsName to "www.cash.app",
            ),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     *    purpose of the certificate like "Entrust Root Certification Authority - G2" or
     *    "www.squareup.com".
     *
     *  * **A set of hostnames.** These are in the certificate's subject alternative name (SAN)
     *    extension. A subject alternative name is either a literal hostname (`squareup.com`), a literal
     *    IP address (`74.122.190.80`), or a hostname pattern (`*.api.squareup.com`).
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

        "EEE, dd MMM yyyy HH:mm:ss zzz",
        // RFC 850, obsoleted by RFC 1036 with any TZ.
        "EEEE, dd-MMM-yy HH:mm:ss zzz",
        // ANSI C's asctime() format
        "EEE MMM d HH:mm:ss yyyy",
        // Alternative formats:
        "EEE, dd-MMM-yyyy HH:mm:ss z",
        "EEE, dd-MMM-yyyy HH-mm-ss z",
        "EEE, dd MMM yy HH:mm:ss z",
        "EEE dd-MMM-yyyy HH:mm:ss z",
        "EEE dd MMM yyyy HH:mm:ss z",
        "EEE dd-MMM-yyyy HH-mm-ss z",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        // these checks test alternative subjects. The test data contains an
        // alternative subject starting with a japanese kanji character. This is
        // not supported by Android because the underlying implementation from
        // harmony follows the definition from rfc 1034 page 10 for alternative
        // subject names. This causes the code to drop all alternative subjects.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * that follows.
       */
      private val extensionValue: BasicDerAdapter<Any?> =
        Adapters.usingTypeHint { typeHint ->
          when (typeHint) {
            ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME -> subjectAlternativeName
            ObjectIdentifiers.BASIC_CONSTRAINTS -> basicConstraints
            else -> null
          }
        }.withExplicitBox(
          tagClass = Adapters.OCTET_STRING.tagClass,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         * @param protocol an ALPN protocol, such as `h2`.
         * @param host an IP address or hostname.
         * @param port the IP port associated with the service.
         * @param maxAge time in seconds that this alternative is considered fresh.
         */
        fun alternateService(
          streamId: Int,
          origin: String,
          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        )
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

        inappropriate.
    
     *  New: `HttpUrl.get(String)` is an alternative to `HttpUrl.parse(String)` that throws an exception
        when the URL is malformed instead of returning null. Use this to avoid checking for null in
        situations where the input is known to be well-formed. We've also added `MediaType.get(String)`
        which is an exception-throwing alternative to `MediaType.parse(String)`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

        val MIXED = "multipart/mixed".toMediaType()
    
        /**
         * The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the
         * semantics are different. In particular, each of the body parts is an "alternative" version of
         * the same information.
         */
        @JvmField
        val ALTERNATIVE = "multipart/alternative".toMediaType()
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top