Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 989 for decryption (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(decKey, "Decryption key should not be null");
            assertEquals(16, decKey.length, "Decryption key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, decKey), "Decryption key should be different from session key");
        }
    
        @Test
        @DisplayName("Should derive decryption key for SMB 3.1.1 dialect")
        void testDeriveDecryptionKey_SMB311() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/crypto/CachedCipher.java

    import org.codelibs.core.exception.UnsupportedEncodingRuntimeException;
    import org.codelibs.core.misc.Base64Util;
    
    /**
     * A high-performance utility class for encrypting and decrypting data using cached {@link Cipher} instances.
     * <p>
     * This class provides efficient encryption/decryption by pooling and reusing cipher instances,
     * reducing the overhead of repeated cipher initialization. It supports both string-based keys
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

                        .thenThrow(new GeneralSecurityException("Decryption error"));
    
                PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(token, (byte) 0, keys));
                assertTrue(e.getMessage().startsWith("Decryption failed"));
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

    import jcifs.CIFSException;
    import jcifs.DialectVersion;
    import jcifs.internal.smb2.nego.EncryptionNegotiateContext;
    import jcifs.util.SecureKeyManager;
    
    /**
     * SMB2/SMB3 Encryption Context
     *
     * Manages encryption and decryption operations for SMB2/SMB3 sessions.
     * Handles both AES-CCM (SMB 3.0/3.0.2) and AES-GCM (SMB 3.1.1) cipher suites.
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

         */
        List<Proxy> getProxies();
    
        /**
         * Gets the problems that were encountered during the settings decryption.
         *
         * @return The problems that were encountered during the decryption, can be empty but never {@code null}.
         */
        List<SettingsProblem> getProblems();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java

    @Deprecated(since = "4.0.0")
    public interface SettingsDecrypter {
    
        /**
         * Decrypts passwords in the settings.
         *
         * @param request The settings decryption request that holds the parameters, must not be {@code null}.
         * @return The result of the settings decryption, never {@code null}.
         */
        SettingsDecryptionResult decrypt(SettingsDecryptionRequest request);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                    // Log but don't fail - concurrent encryption/decryption with same context is complex
                    System.out.println("Sample decryption failed (acceptable for concurrent test): " + e.getMessage());
                }
            }
    
            // Cleanup
            context.close();
        }
    
        @Test
        @DisplayName("Should handle AES-CCM encryption correctly")
        void testAESCCMEncryption() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/package-info.java

     */
    
    /**
     * Provides the API for the Maven Password Encryption tool ({@code mvnenc}).
     *
     * <p>This package contains interfaces and classes for the password encryption tool,
     * which helps secure sensitive information in Maven settings and configuration files.</p>
     *
     * <p>Key features include:</p>
     * <ul>
     *   <li>Password encryption and decryption</li>
     *   <li>Master password management</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

        private byte apOptions;
        private KerberosTicket ticket;
    
        /**
         * Creates a Kerberos AP request from a token.
         *
         * @param token the Kerberos AP-REQ token
         * @param keys the Kerberos keys for decryption
         * @throws PACDecodingException if the token cannot be decoded
         */
        public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException {
            this(parseSequence(token), keys);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            this(token, null);
        }
    
        /**
         * Constructs a KerberosToken from token bytes with decryption keys.
         *
         * @param token the token bytes
         * @param keys array of Kerberos keys for decryption
         * @throws PACDecodingException if token decoding fails
         */
        public KerberosToken(byte[] token, KerberosKey[] keys) throws PACDecodingException {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top