Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Encryption (0.31 sec)

  1. 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)
  2. 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: 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/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)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                        // Server requires encryption - create encryption context
                        try {
                            if (log.isDebugEnabled()) {
                                log.debug("Server requires encryption, creating encryption context");
                            }
                            SmbTransportImpl transport = getTransport();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        /**
         * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2)
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @param 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)
  7. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        /**
         * Test decrypt with an unsupported encryption type.
         */
        @Test
        void testDecryptUnsupportedType() {
            Key key = new KerberosKey(null, new byte[16], 99, 0);
            byte[] data = new byte[16];
            Exception exception = assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, 99));
            assertEquals("Unsupported encryption type 99", exception.getMessage());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. README.md

    - Configurable: Min/max versions can be set via configuration properties
    
    ### SMB3 Encryption Support
    - **SMB2 Transform Header**: Encrypted message wrapping
    - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites
    - **Encryption Context**: Per-session encryption state management
    - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Crypto.java

            return new HMACT64(key);
        }
    
        /**
         * Get an RC4 cipher instance initialized with the specified key.
         * @param key the encryption key
         * @return RC4 cipher in encryption mode
         */
        public static Cipher getArcfour(final byte[] key) {
            try {
                final Cipher c = Cipher.getInstance("RC4");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top