Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for encrypt (0.05 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                @Override
                public String encrypt(String plainText) {
                    return "encrypted:" + plainText;
                }
    
                @Override
                public String decrypt(String cryptedText) {
                    return cryptedText.startsWith("encrypted:") ? cryptedText.substring("encrypted:".length()) : cryptedText;
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                        }
                    }
                }
            }
            return paramMap;
        }
    
        /**
         * Encrypts sensitive parameter values.
         *
         * @param value the parameter string
         * @return the encrypted parameter string
         */
        public static String encrypt(final String value) {
            final StringBuilder buf = new StringBuilder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

        }
    
        /**
         * Stores a web authentication configuration.
         * Parameters are encrypted before storage.
         *
         * @param webAuthentication The web authentication configuration to store
         */
        public void store(final WebAuthentication webAuthentication) {
            webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters()));
            webAuthenticationBhv.insertOrUpdate(webAuthentication, op -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

        eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m
        0vdXcDazv/wor3ElhVsT/h5/WrQ8
        -----END CERTIFICATE-----
        """.trimIndent().decodeCertificatePem()
    
      // CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US
      val letsEncryptCertificateAuthority =
        """
        -----BEGIN CERTIFICATE-----
        MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

        /**
         * Stores a file authentication configuration.
         * The parameters are encrypted before storage for security.
         *
         * @param fileAuthentication the file authentication configuration to store
         */
        public void store(final FileAuthentication fileAuthentication) {
            fileAuthentication.setParameters(ParameterUtil.encrypt(fileAuthentication.getParameters()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

    import okhttp3.Request
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.decodeCertificatePem
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Test for new Let's Encrypt Root Certificate.
     */
    @Tag("Remote")
    class LetsEncryptClientTest {
      @Test fun get() {
        // These tests wont actually run before Android 8.0 as per
        // https://github.com/mannodermaus/android-junit5
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         * This method encrypts the configuration parameters before saving and
         * performs an insert or update operation based on whether the configuration exists.
         *
         * @param fileConfig the file configuration to be stored
         */
        public void store(final FileConfig fileConfig) {
            fileConfig.setConfigParameter(ParameterUtil.encrypt(fileConfig.getConfigParameter()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

        }
    
        /**
         * Stores a web configuration.
         * Configuration parameters are encrypted before storage.
         *
         * @param webConfig The web configuration to store
         */
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

    import org.junit.runner.RunWith;
    import javax.net.ssl.SSLHandshakeException;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    /**
     * Let's Encrypt expiring root test.
     *
     * Read https://community.letsencrypt.org/t/mobile-client-workarounds-for-isrg-issue/137807
     * for background.
     */
    @RunWith(AndroidJUnit4.class)
    public class LetsEncryptTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Nov 17 07:40:31 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         * @throws IllegalArgumentException if dataConfig is null
         */
        public void store(final DataConfig dataConfig) {
            dataConfig.setHandlerParameter(ParameterUtil.encrypt(dataConfig.getHandlerParameter()));
            dataConfigBhv.insertOrUpdate(dataConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top