Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for ENCRYPTION (0.04 sec)

  1. 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
        @DisplayName("Test log security violation")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Configuration.java

         * negotiation, SMB encryption is not implemented yet.
         *
         * @return whether SMB encryption is enabled
         * @since 2.1
         */
        boolean isEncryptionEnabled();
    
        /**
         * Property {@code jcifs.smb.client.preferredCiphers} (string, default "AES_128_GCM,AES_128_CCM,AES_256_GCM,AES_256_CCM")
         *
         * @return preferred encryption cipher list in order of preference for SMB3 encryption
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

     */
    
    package jcifs.dcerpc;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    
    /**
     * Interface for providing security services for DCE/RPC communications.
     * This interface abstracts authentication and encryption mechanisms.
     */
    public interface DcerpcSecurityProvider {
    
        /**
         * Wraps outgoing DCERPC message data for security protection
         * @param outgoing the buffer containing data to be wrapped
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Then
            assertNotNull(responseWithNull);
        }
    
        @Test
        @DisplayName("Should test encryption flag detection")
        void testEncryptionFlagDetection() throws SMBProtocolDecodingException {
            // Given - response with encryption flag set
            byte[] buffer = createValidResponseBuffer(0, 0x8000, 0, 0);
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * Server supports directory leasing
         */
        public static final int SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x20;
    
        /**
         * Server supports SMB3 encryption
         */
        public static final int SMB2_GLOBAL_CAP_ENCRYPTION = 0x40;
    
        /**
         * File information class
         */
        public static final byte SMB2_0_INFO_FILE = 1;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

          get() =
            when {
              message == "adding as trusted certificates" -> Type.Setup
              message == "Raw read" || message == "Raw write" -> Type.Encrypted
              message == "Plaintext before ENCRYPTION" || message == "Plaintext after DECRYPTION" -> Type.Plaintext
              message.startsWith("System property ") -> Type.Setup
              message.startsWith("Reload ") -> Type.Setup
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals("", serverData.oemDomainName);
        }
    
        @Test
        void testReadBytesWireFormat_NoDomainName() {
            // Scenario where byteCount is only the encryption key length
            serverData.capabilities = 0;
            serverData.encryptionKeyLength = 8;
            response.byteCount = 8;
    
            byte[] encryptionKey = "12345678".getBytes();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

        }
    
        /**
         * Derives the SMB3 encryption key from the session key using the appropriate KDF for the dialect.
         *
         * @param dialect the SMB dialect version
         * @param sessionKey the base session key
         * @param preauthIntegrity the pre-authentication integrity hash (for SMB 3.1.1) or null
         * @return derived encryption key
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

        /**
         * Session flag indicating this is a null/anonymous session
         */
        public static final int SMB2_SESSION_FLAGS_IS_NULL = 0x2;
    
        /**
         * Session flag indicating data encryption is required for this session
         */
        public static final int SMB2_SESSION_FLAG_ENCRYPT_DATA = 0x4;
    
        private int sessionFlags;
        private byte[] blob;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share flag indicating that hash generation V2 is enabled for this share.
         */
        public static final int SMB2_SHAREFLAG_ENABLE_HASH_V2 = 0x4000;
        /**
         * Share flag indicating that encryption is required for this share.
         */
        public static final int SMB2_SHAREFLAG_ENCRYPT_DATA = 0x8000;
        /**
         * Share capability indicating DFS support.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top