Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for encryptions (0.05 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted2 = storage.encryptCredentials(plaintext.clone());
    
            // Should produce different ciphertexts due to random IV
            assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts");
    
            // But both should decrypt to same plaintext
            char[] decrypted1 = storage.decryptCredentials(encrypted1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            new SecureRandom().nextBytes(testDecryptionKey);
    
            // Create encryption context with required parameters
            encryptionContext = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
        }
    
        @Test
        @DisplayName("Should create encryption context with valid parameters")
        void testConstructor() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         */
        protected String transformation = RSA;
    
        /**
         * The key to use for encryption/decryption.
         */
        protected String key;
    
        /**
         * The character set name to use for encoding/decoding strings.
         */
        protected String charsetName = CoreLibConstants.UTF_8;
    
        /**
         * The queue of ciphers for encryption.
         */
        protected Queue<Cipher> encryptoQueue = new ConcurrentLinkedQueue<>();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/DES.java

        /**
         * Sets the DES encryption key
         * @param key the 8-byte DES key
         */
        public void setKey(final byte[] key) {
    
            // CHECK PAROTY TBD
            deskey(key, true, encryptKeys);
            deskey(key, false, decryptKeys);
        }
    
        // Turn an 8-byte key into internal keys.
        private void deskey(final byte[] keyBlock, final boolean encrypting, final int[] KnL) {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        /**
         * AES-128-CCM cipher identifier for SMB3 encryption
         */
        public static final int CIPHER_AES_128_CCM = EncryptionNegotiateContext.CIPHER_AES128_CCM;
        /**
         * AES-128-GCM cipher identifier for SMB3.1.1 encryption
         */
        public static final int CIPHER_AES_128_GCM = EncryptionNegotiateContext.CIPHER_AES128_GCM;
        /**
         * AES-256-CCM cipher identifier for SMB3 encryption (future support)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(encKey, "Encryption key should not be null");
            assertEquals(16, encKey.length, "Encryption key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, encKey), "Encryption key should be different from session key");
        }
    
        @Test
        @DisplayName("Should derive different encryption keys for different dialects")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        @CsvSource({ "true, true, SMB311, 2", // DFS + Encryption
                "false, true, SMB311, 1", // Encryption only
                "true, false, SMB311, 1", // DFS only
                "false, false, SMB311, 0", // Neither
                "true, true, SMB210, 1", // DFS only (no encryption for SMB2)
                "false, true, SMB210, 0" // Neither (no encryption for SMB2)
        })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                EncryptionNegotiateContext encryption = new EncryptionNegotiateContext();
    
                assertNotEquals(preauth.getContextType(), encryption.getContextType());
                assertEquals(0x1, preauth.getContextType());
                assertEquals(0x2, encryption.getContextType());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/SecureCredentialStorage.java

    import javax.security.auth.Destroyable;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Secure credential storage with encryption at rest.
     *
     * Provides secure storage of passwords and other sensitive credentials
     * using AES-GCM encryption with PBKDF2 key derivation.
     *
     * Features:
     * - Encrypts credentials at rest using AES-256-GCM
     * - Uses PBKDF2 for key derivation from master password
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/https.md

    * Certificates have a **lifetime**.
        * They **expire**.
        * And then they need to be **renewed**, **acquired again** from the third party.
    * The encryption of the connection happens at the **TCP level**.
        * That's one layer **below HTTP**.
        * So, the **certificate and encryption** handling is done **before HTTP**.
    * **TCP doesn't know about "domains"**. Only about IP addresses.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top