Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 75 for Encryption (1.62 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/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)
  3. src/main/java/jcifs/audit/SecurityAuditLogger.java

            }
    
            logEvent(EventType.FILE_ACCESS, success ? Severity.INFO : Severity.WARNING, message, context);
            returnContextMap(context);
        }
    
        /**
         * Log an encryption event
         *
         * @param enabled whether encryption was enabled
         * @param cipherSuite cipher suite used
         * @param sessionId session identifier
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. 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)
  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. 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)
  7. src/main/java/jcifs/smb/SmbSessionInternal.java

         * Determines whether this session is currently in use.
         *
         * @return whether the session is in use
         */
        boolean isInUse();
    
        /**
         * Returns the current session key used for signing and encryption.
         *
         * @return the current session key
         * @throws CIFSException if the session key cannot be retrieved
         */
        byte[] getSessionKey() throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

                }
            }
    
            return serverKeys.toArray(new KerberosKey[0]);
        }
    
        /**
         * Retrieves a specific Kerberos key by key type.
         *
         * @param keyType the encryption type of the key to retrieve
         * @return the KerberosKey with the specified type, or null if not found
         */
        public KerberosKey getKey(int keyType) {
            KerberosKey serverKey = null;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            return dgst.digest();
        }
    
        /**
         * Create encryption context for SMB3 encrypted communication
         *
         * @param sessionKey the session key from GSS-API authentication
         * @param preauthHash the pre-authentication integrity hash (SMB 3.1.1 only)
         * @return encryption context
         * @throws CIFSException if encryption is not supported or fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top