Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for protection (2.48 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java

     */
    
    package jcifs.smb1.dcerpc;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    
    /**
     * Interface for DCERPC security providers that handle message protection
     */
    public interface DcerpcSecurityProvider {
        /**
         * Wraps outgoing DCERPC message data for security protection
         * @param outgoing the buffer containing data to be wrapped
         * @throws DcerpcException if the wrapping operation fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/SpnegoToken.java

        }
    
        /**
         * Gets the mechanism list MIC (Message Integrity Code) for integrity protection
         * @return the mechanism list MIC bytes
         */
        public byte[] getMechanismListMIC() {
            return this.mechanismListMIC;
        }
    
        /**
         * Sets the mechanism list MIC (Message Integrity Code) for integrity protection
         * @param mechanismListMIC the mechanism list MIC bytes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (2)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Test integer overflow protection in security buffer offset calculation.
         */
        @Test
        public void testSecurityBufferIntegerOverflow() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Set security buffer offset close to Integer.MAX_VALUE to test overflow protection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureKeyManager.java

                try {
                    KeyStore.SecretKeyEntry keyEntry = new KeyStore.SecretKeyEntry(secretKey);
                    KeyStore.ProtectionParameter protection = new KeyStore.PasswordProtection(keyStorePassword);
                    keyStore.setEntry("smb.session." + sessionId, keyEntry, protection);
                } catch (Exception e) {
                    log.warn("Failed to store key in KeyStore: {}", e.getMessage());
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

     * 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
         * @throws DcerpcException if the wrapping operation fails
         */
        void wrap(NdrBuffer outgoing) throws DcerpcException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                retryCount++;
                log.info("Attempting RDMA connection recovery (attempt {} of {})", retryCount, maxRetries);
    
                try {
                    // Exponential backoff with overflow protection - ensure safe calculation
                    if (retryDelayMs > 0) {
                        // Safe calculation preventing overflow: use Math.max(0, retryCount - 1) and limit shift
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/resources/fess_message_fr.properties

    errors.failed_to_upload_kuromoji_file = Échec du téléversement d'un fichier Kuromoji.
    errors.failed_to_download_protwords_file = Échec du téléchargement d'un fichier de mots de protection.
    errors.failed_to_upload_protwords_file = Échec du téléversement d'un fichier de mots de protection.
    errors.failed_to_download_stopwords_file = Échec du téléchargement d'un fichier de mots vides.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Pre-authentication Integrity Negotiate Context.
     *
     * This negotiate context is used in SMB 3.1.1 to establish
     * pre-authentication integrity protection against downgrade attacks.
     *
     * @author mbechler
     */
    public class PreauthIntegrityNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
        /**
         * Context type
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/PreauthIntegrityService.java

    import jcifs.CIFSException;
    import jcifs.internal.smb2.nego.PreauthIntegrityNegotiateContext;
    
    /**
     * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1.
     *
     * Provides comprehensive pre-authentication integrity protection against
     * downgrade attacks by maintaining cryptographic hash chains of all
     * negotiation and session setup messages.
     */
    public class PreauthIntegrityService {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top