Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,623 for Cipher (0.27 sec)

  1. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            value = "password=b";
            expect = "password={cipher}5691346cc398a4450114883140fa84a7";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "aaa.password=b\naaa=c\nccc.key=d";
            expect = "aaa.password={cipher}5691346cc398a4450114883140fa84a7\n" + "aaa=c\n" + "ccc.key={cipher}bf66204f1a59036869a684d61d337bd4";
            assertEquals(expect, ParameterUtil.encrypt(value));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

      public CustomCipherSuites() throws GeneralSecurityException {
        // Configure cipher suites to demonstrate how to customize which cipher suites will be used for
        // an OkHttp request. In order to be selected a cipher suite must be included in both OkHttp's
        // connection spec and in the SSLSocket's enabled cipher suites array. Most applications should
        // not customize the cipher suites list.
        List<CipherSuite> customCipherSuites = asList(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            }
            cookieNameMap.put(cookieName, roleName);
        }
    
        /**
         * Sets the cached cipher.
         * @param cipher The cached cipher.
         */
        public void setCipher(final CachedCipher cipher) {
            this.cipher = cipher;
        }
    
        /**
         * Sets the value separator.
         * @param valueSeparator The value separator.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

     * here. Cipher suites that are not available on either Android (through API level 24) or Java
     * (through JDK 9) are omitted for brevity.
     *
     * See [Android SSLEngine][sslengine] which lists the cipher suites supported by Android.
     *
     * See [JDK Providers][oracle_providers] which lists the cipher suites supported by Oracle.
     *
     * See [NativeCrypto.java][conscrypt_providers] which lists the cipher suites supported by
     * Conscrypt.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should handle different cipher IDs")
        void testDifferentCipherIds() {
            // Test cipher ID 1 (AES-CCM)
            Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
            assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1");
    
            // Test cipher ID 2 (AES-GCM)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         * The user ID is encrypted using the primary cipher and validated against the configuration.
         *
         * @param userCode the raw user ID to encrypt
         * @return the encrypted and validated user code, or null if invalid
         */
        protected String createUserCodeFromUserId(String userCode) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmContext.java

        private byte[] type1Bytes;
    
        private byte[] signKey;
        private byte[] verifyKey;
        private byte[] sealClientKey;
        private byte[] sealServerKey;
    
        private Cipher sealClientHandle;
        private Cipher sealServerHandle;
    
        /**
         * Creates a new NTLM security context with the specified parameters.
         * @param tc
         *            context to use
         * @param auth
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Assert
                // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length)
                // This appears to be a bug in the implementation, but we test the actual behavior
                assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphers
                assertEquals(2, buffer[0]); // cipher count (little endian)
                assertEquals(0, buffer[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top