Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for aies (0.83 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

                final SecurityDescriptor desc = querySecurity(th, SecurityInfo.DACL_SECURITY_INFO);
                final ACE[] aces = desc.getAces();
                if (aces != null) {
                    processAces(aces, resolveSids);
                }
    
                return aces;
            }
        }
    
        @Override
        public SID getOwnerUser() throws IOException {
            return getOwnerUser(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                this.preauthSalt = salt;
    
                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()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

                String archiveId = sessionId + ".v" + currentVersion;
                storeSessionKeyInternal(archiveId, currentKey, "AES");
    
                // Store new key
                storeSessionKeyInternal(sessionId, newKey, "AES");
                keyVersions.put(sessionId, newVersion);
                keyCreationTimes.put(sessionId, System.currentTimeMillis());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

        private static final int SIGNATURE_OFFSET = 48;
        private static final int SIGNATURE_LENGTH = 16;
    
        @BeforeAll
        static void setupClass() {
            // Ensure BouncyCastle provider is available for AES-CMAC
            if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null) {
                Security.addProvider(new BouncyCastleProvider());
            }
        }
    
        @BeforeEach
        void setup() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * <p>
         * Alternatively <code>getSecurity(true)</code> may be used to resolve all
         * SIDs together and detect network failures.
         *
         * @return array of ACEs
         * @throws IOException if an I/O error occurs
         */
        ACE[] getSecurity() throws IOException;
    
        /**
         * Return an array of Access Control Entry (ACE) objects representing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                if (cipherId == -1) {
                    // Default to AES-128-GCM for SMB 3.1.1 if no cipher negotiated
                    cipherId = EncryptionNegotiateContext.CIPHER_AES128_GCM;
                }
            } else if (dialect.atLeast(DialectVersion.SMB300)) {
                // SMB 3.0/3.0.2 only supports AES-128-CCM
                cipherId = EncryptionNegotiateContext.CIPHER_AES128_CCM;
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. docs/smb3-features/02-persistent-handles-design.md

    ```java
    public class SecureHandleStorage {
        private final SecretKey encryptionKey;
        
        public void saveEncrypted(HandleInfo handle, Path file) throws Exception {
            Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, encryptionKey);
            
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (CipherOutputStream cos = new CipherOutputStream(baos, cipher);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * @since 2.2
         */
        String getPreferredCiphers();
    
        /**
         * Property {@code jcifs.smb.client.aes256Enabled} (boolean, default true)
         *
         * @return whether AES-256 encryption ciphers are enabled for SMB3.x
         * @since 2.2
         */
        boolean isAES256Enabled();
    
        /**
         * Property {@code jcifs.smb.client.compressionEnabled} (boolean, default false)
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean compressionEnabled = false;
        /** Preferred encryption ciphers in order of preference */
        protected String preferredCiphers = "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM";
        /** Whether AES-256 encryption is enabled */
        protected boolean aes256Enabled = true;
        /** Whether to use SMB2/SMB3 leases for caching */
        protected boolean useLease = true;
        /** Lease timeout in milliseconds */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top