Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GCM (0.01 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

                // Last 4 bytes remain zero-initialized
            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
                System.arraycopy(nonce, 0, this.nonce, 0, 16);
            } else {
                throw new IllegalArgumentException("Nonce must be 12 bytes (CCM) or 16 bytes (GCM)");
            }
            this.originalMessageSize = originalMessageSize;
            this.flags = flags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. README.md

    **Protocol Selection:**
    - Default Range: SMB1 to SMB 3.1.1
    - Automatic Negotiation: Client offers all supported dialects, server selects highest common version
    - Configurable: Min/max versions can be set via configuration properties
    
    ### SMB3 Encryption Support
    - **SMB2 Transform Header**: Encrypted message wrapping
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

    @DisplayName("CIFSUnsupportedCryptoException Tests")
    class CIFSUnsupportedCryptoExceptionTest extends BaseTest {
    
        private static final String CRYPTO_ERROR_MESSAGE = "Unsupported cryptographic algorithm: AES-256-GCM";
        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

        /**
         * AES 128 CCM
         */
        public static final int CIPHER_AES128_CCM = 0x1;
    
        /**
         * AES 128 GCM
         */
        public static final int CIPHER_AES128_GCM = 0x2;
    
        /**
         * AES 256 CCM
         */
        public static final int CIPHER_AES256_CCM = 0x3;
    
        /**
         * AES 256 GCM
         */
        public static final int CIPHER_AES256_GCM = 0x4;
    
        private int[] ciphers;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. docs/ftp/README.md

    ```
    
    `--sftp=cipher-algos=...` specifies the allowed cipher algorithms. 
    If unspecified then a sensible default is used.
    
    Valid values: 
    ```
    aes128-ctr
    aes192-ctr
    aes256-ctr
    aes128-gcm@openssh.com
    aes256-gcm@openssh.com
    ******@****.***
    arcfour256
    arcfour128
    arcfour
    aes128-cbc
    3des-cbc
    ```
    
    `--sftp=mac-algos=...` specifies a default set of MAC algorithms in preference order.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                if (config.isEncryptionEnabled()) {
                    // Build cipher list based on AES-256 support
                    List<Integer> ciphers = new ArrayList<>();
    
                    // Prefer GCM over CCM for better performance
                    if (config.isAES256Enabled()) {
                        ciphers.add(EncryptionNegotiateContext.CIPHER_AES256_GCM);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log encryption")
        void testLogEncryption() {
            logger.logEncryption(true, "AES-128-GCM", "SMB3.1.1");
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.ENCRYPTION_ENABLED), "Should have 1 encryption event");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top