Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for Extension (0.06 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                  ),
                issuerUniqueID = null,
                subjectUniqueID = null,
                extensions =
                  listOf(
                    Extension(
                      id = keyUsage,
                      critical = true,
                      value = "03020106".decodeHex(),
                    ),
                    Extension(
                      id = BASIC_CONSTRAINTS,
                      critical = true,
                      value =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          )
    
      /**
       * ```
       * Extension ::= SEQUENCE  {
       *   extnID      OBJECT IDENTIFIER,
       *   critical    BOOLEAN DEFAULT FALSE,
       *   extnValue   OCTET STRING
       *     -- contains the DER encoding of an ASN.1 value
       *     -- corresponding to the extension type identified
       *     -- by extnID
       * }
       * ```
       */
      internal val extension: BasicDerAdapter<Extension> =
        Adapters.sequence(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return Validity(
            notBefore = notBefore,
            notAfter = notAfter,
          )
        }
    
        private fun extensions(): MutableList<Extension> {
          val result = mutableListOf<Extension>()
    
          if (maxIntermediateCas != -1) {
            result +=
              Extension(
                id = BASIC_CONSTRAINTS,
                critical = true,
                value =
                  BasicConstraints(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(CertificateAdapters.extension.toDer(extension))
          .isEqualTo(bytes)
        assertThat(CertificateAdapters.extension.fromDer(bytes))
          .isEqualTo(extension)
      }
    
      @Test fun `extension with unknown type hint`() {
        val extension =
          Extension(
            // common name is not an extension.
            COMMON_NAME,
            false,
            "3006800109810109".decodeHex(),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceUtil.java

         * @param extension
         *            The extension.
         * @return The resource path.
         */
        public static String getResourcePath(final String path, final String extension) {
            assertArgumentNotNull("path", path);
    
            if (extension == null) {
                return path;
            }
            final String ext = "." + extension;
            if (path.endsWith(ext)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

            override fun contentLength(): Long = contentLength
    
            override fun source(): BufferedSource = this@asResponseBody
          }
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toResponseBody(contentType)",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

    #### Renamed Functions
    
    * **Headers.of()**: for symmetry with `listOf()`, `setOf()`, etc., we’ve replaced
      `Headers.of(String...)` with `headersOf(vararg String)`.
    
    #### Extension Functions
    
    We’ve migrated from static functions to extension functions where we think they fit.
    
    | Java                                | Kotlin                          |
    | :---------------------------------- | :------------------------------ |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.extension.AfterEachCallback
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.jupiter.api.extension.InvocationInterceptor
    import org.junit.jupiter.api.extension.ReflectiveInvocationContext
    import org.openjsse.net.ssl.OpenJSSE
    import org.opentest4j.TestAbortedException
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            this.thumbnailPathCacheSize = thumbnailPathCacheSize;
        }
    
        /**
         * Sets the image file extension for thumbnails.
         *
         * @param imageExtention the file extension to set
         */
        public void setImageExtention(final String imageExtention) {
            this.imageExtention = imageExtention;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * similar to the {@code basename} unix command. The result does not include the '{@code .}'.
       *
       * @param file The name of the file to trim the extension from. This can be either a fully
       *     qualified file name (including a path) or just a file name.
       * @return The file name without its path or extension.
       * @since 14.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top