Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for cipherA (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        assertThat(forJavaName(java.lang.String(cs.javaName) as String))
          .isSameAs(cs)
      }
    
      @Test
      fun equals() {
        assertThat(forJavaName("cipher")).isEqualTo(forJavaName("cipher"))
        assertThat(forJavaName("cipherB")).isNotEqualTo(forJavaName("cipherA"))
        assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
          .isEqualTo(forJavaName("SSL_RSA_EXPORT_WITH_RC4_40_MD5"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         * @return a decryption cipher
         */
        protected Cipher pollDecryptoCipher() {
            Cipher cipher = decryptoQueue.poll();
            if (cipher == null) {
                final SecretKeySpec sksSpec = new SecretKeySpec(key.getBytes(), algorithm);
                try {
                    cipher = Cipher.getInstance(algorithm);
                    cipher.init(Cipher.DECRYPT_MODE, sksSpec);
                } catch (final InvalidKeyException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      /** Ciphers in order we observed directly on the socket. */
      private lateinit var handshakeEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory defaults. */
      private lateinit var defaultEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory supported. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. docs/features/https.md

    with certificates and the privacy of data exchanged with strong ciphers.
    
    When negotiating a connection to an HTTPS server, OkHttp needs to know which [TLS versions](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-tls-version/) and [cipher suites](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-cipher-suite/) to offer. A client that wants to maximize connectivity would include obsolete TLS versions and weak-by-design cipher suites. A strict client that wants to maximize security would...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import javax.crypto.IllegalBlockSizeException;
    
    /**
     * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length.
     * @author shinsuke
     */
    public class IllegalBlockSizeRuntimeException extends ClRuntimeException {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            };
            roleQueryHelperImpl.cipher = cipher;
    
            Set<String> roleSet;
            boolean encrypted;
            String value;
    
            encrypted = true;
            value = cipher.encryptoText("");
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = true;
            value = cipher.encryptoText("role1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

                assertNotNull(cryptographer);
                assertSame(oneWayCryptographer, cryptographer);
            }
        }
    
        // Test with different cipher types
        public void test_withBlowfishCipher() {
            // Test with Blowfish cipher
            InvertibleCryptographer blowfish = InvertibleCryptographer.createBlowfishCipher("secretkey");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

       * order for a socket to be compatible the enabled cipher suites and protocols must intersect.
       *
       * For cipher suites, at least one of the [required cipher suites][cipherSuites] must match the
       * socket's enabled cipher suites. If there are no required cipher suites the socket must have at
       * least one cipher suite enabled.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. docs/security/tls_configuration_history.md

    ---
    
    <a name="tlsv13_only"></a>
    #### ¹ TLSv1.3 Only
    
    Cipher suites that are only available with TLSv1.3.
    
    <a name="http2_naughty"></a>
    #### ² HTTP/2 Cipher Suite Denylist
    
    Cipher suites that are [discouraged for use][http2_denylist] with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                        });
    
                assertEquals(path, provider.provideDefaultPath());
            }
        }
    
        // Test cipher with special characters
        public void test_cipherWithSpecialCharacters() {
            // Create a mock cipher for testing purposes
            InvertibleCryptographer cipher = new InvertibleCryptographer("AES", "1234567890123456", null) {
                @Override
                public String encrypt(String plainText) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top