Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for decrypt (0.06 sec)

  1. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         *
         * @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();
            userCode = cipher.encrypt(userCode);
            if (fessConfig.isValidUserCode(userCode)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

         *
         * @param webAuthentication The web authentication configuration to store
         */
        public void store(final WebAuthentication webAuthentication) {
            webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters()));
            webAuthenticationBhv.insertOrUpdate(webAuthentication, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

         *
         * @param fileAuthentication the file authentication configuration to store
         */
        public void store(final FileAuthentication fileAuthentication) {
            fileAuthentication.setParameters(ParameterUtil.encrypt(fileAuthentication.getParameters()));
            fileAuthenticationBhv.insertOrUpdate(fileAuthentication, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

     */
    package jcifs.internal.smb2;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Transform Header for encrypted messages
     *
     * This header is used to encrypt SMB2/SMB3 messages and provides the necessary
     * cryptographic parameters for decryption including the nonce, session ID, and
     * authentication tag.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

            final byte[] p24 = new byte[24];
            final byte[] passwordBytes = Strings.getOEMBytes(password, tc.getConfig());
            int passwordLength = passwordBytes.length;
    
            // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM
            if (passwordLength > 14) {
                passwordLength = 14;
            }
            System.arraycopy(passwordBytes, 0, p14, 0, passwordLength);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                        this.password = pwAuth.getAnsiHash(this.ctx, this.server.encryptionKey);
                    } catch (final GeneralSecurityException e) {
                        throw new RuntimeCIFSException("Failed to encrypt password", e);
                    }
                    this.passwordLength = this.password.length;
                } else if (this.ctx.getConfig().isDisablePlainTextPasswords()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

         *
         * @param webConfig The web configuration to store
         */
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        /**
    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. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         *
         * @param fileConfig the file configuration to be stored
         */
        public void store(final FileConfig fileConfig) {
            fileConfig.setConfigParameter(ParameterUtil.encrypt(fileConfig.getConfigParameter()));
            fileConfigBhv.insertOrUpdate(fileConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K 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