Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 321 for Kharin (0.19 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        val connection = AtomicReference<Connection?>()
        client =
          client.newBuilder()
            .addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                connection.set(chain!!.connection())
                chain.proceed(chain.request())
              },
            )
            .build()
        dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            this(file, 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        SmbFileInputStream ( SmbFile file, int openFlags, int access, int sharing, boolean unshared ) throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
              .add("Date", new Date())
              .build();
          Request newRequest = request.newBuilder()
              .headers(newHeaders)
              .build();
          return chain.proceed(newRequest);
        }
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Oct 31 15:32:50 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

          chain[0] = heldCertificate.certificate
          intermediates.copyInto(chain, 1)
          keyStore.setKeyEntry("private", heldCertificate.keyPair.private, password, chain)
        }
    
        val factory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm())
        factory.init(keyStore, password)
        val result = factory.keyManagers!!
        check(result.size == 1 && result[0] is X509KeyManager) {
    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)
  5. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       *                     -> phonyVictim
       * ```
       *
       * But this chain is wrong because the attackerSwitch certificate is being used in a CA role even
       * though it is not a CA certificate. There are pinned certificates in the chain! The correct
       * chain is much shorter because it skips the non-CA certificate.
       *
       * ```
       *   attackerCa
       *     -> attackerIntermediate
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileOutputStream.java

                0,
                SmbConstants.DEFAULT_SHARING);
        }
    
    
        SmbFileOutputStream ( SmbFile file, boolean append, int openFlags, int access, int sharing ) throws SmbException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.sharing = sharing;
            this.access = access | SmbConstants.FILE_WRITE_DATA;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        private int sharing;
    
    
        /**
         * Instantiate a random access file from URL
         * 
         * @param url
         * @param mode
         * @param sharing
         * @param tc
         * @throws SmbException
         * @throws MalformedURLException
         */
        @SuppressWarnings ( "resource" )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        socket: Socket,
      ) {
        if (socket.peerName() !in insecureHosts) {
          delegate.checkServerTrusted(chain, authType, socket)
        }
      }
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        engine: SSLEngine,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. okhttp-tls/README.md

    OdHOim9+
    -----END PRIVATE KEY-----
    ```
    
    Recommendations
    ---------------
    
    Typically servers need a held certificate plus a chain of intermediates. Servers only need the
    private key for their own certificate. The chain served by a server doesn't need the root
    certificate.
    
    The trusted roots don't need to be the same for client and server when using client authentication.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
Back to top