Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 114 for encrypto (0.81 sec)

  1. src/main/java/jcifs/http/NtlmHttpFilter.java

    import jcifs.smb.SmbTransportInternal;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to {@code Authentication:
     * BASIC} but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
     * Read <a href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and the Network Explorer Servlet</a> for
     * complete details.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSUnsupportedCryptoException.java

         *
         */
        private static final long serialVersionUID = -6350312430383107348L;
    
        /**
         * Constructs a CIFS unsupported crypto exception with no detail message.
         */
        public CIFSUnsupportedCryptoException() {
        }
    
        /**
         * Constructs a CIFS unsupported crypto exception with the specified detail message and cause.
         *
         * @param message the detail message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] out7 = new byte[8];
    
            // Act
            NtlmUtil.E(key14, data8, out14);
            NtlmUtil.E(key7, data8, out7);
    
            // Assert: first block identical to single-chunk encryption
            assertArrayEquals(Arrays.copyOfRange(out14, 0, 8), out7);
            // And second block is present and not all zeros
            assertFalse(Arrays.equals(new byte[8], Arrays.copyOfRange(out14, 8, 16)));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
        // Note: SMB2 Transform Header doesn't have a protocol ID field
        // The protocol ID is part of the encrypted SMB2 message, not the transform header
    
        @Test
        @DisplayName("Should set and get signature")
        void testSignature() {
            // Given
            byte[] signature = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

        /** Authorization data type: Relevant */
        int AUTH_DATA_RELEVANT = 1;
        /** Authorization data type: PAC */
        int AUTH_DATA_PAC = 128;
    
        /** DES encryption type identifier */
        int DES_ENC_TYPE = 3;
        /** RC4 encryption type identifier */
        int RC4_ENC_TYPE = 23;
        /** RC4 algorithm name */
        String RC4_ALGORITHM = "ARCFOUR";
        /** HMAC algorithm name */
        String HMAC_ALGORITHM = "HmacMD5";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertFalse(session.isConnected());
            assertTrue(session.isFailed());
        }
    
        @Test
        @DisplayName("encryption: flags, encryption, and decryption delegation")
        void testEncryptionDelegation() throws Exception {
            SmbSessionImpl session = newSession();
    
            // No encryption context -> throws
            CIFSException notEnabled = assertThrows(CIFSException.class, () -> session.encryptMessage(new byte[] { 1 }));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.sessKey = 0x12345678;
            serverData.scapabilities = 0x8000F3FD; // Various capabilities
            serverData.oemDomainName = "WORKGROUP";
            serverData.securityMode = 0x0F; // User + encrypt passwords + signatures
            serverData.security = 1; // User level
            serverData.encryptedPasswords = true;
            serverData.signaturesEnabled = true;
            serverData.signaturesRequired = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        /**
         * @return the selectedDialect
         */
        @Override
        public DialectVersion getSelectedDialect() {
            return this.selectedDialect;
        }
    
        /**
         * Gets the encryption cipher selected for SMB3 encryption.
         *
         * @return the selectedCipher
         */
        public int getSelectedCipher() {
            return this.selectedCipher;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CriticalPerformanceTest.java

        }
    
        /**
         * Test encryption context performance without synchronization bottlenecks
         */
        @Test
        public void testEncryptionContextPerformance() throws Exception {
            // Create mock encryption context for testing (simplified)
            // Note: This tests the atomic operations without actual encryption
    
            int threadCount = 8;
            int operationsPerThread = 500;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningEnforced() throws SmbException;
    
        /**
         * Gets the server's encryption key for authentication.
         *
         * @return the encryption key used by the server
         */
        byte[] getServerEncryptionKey();
    
        /**
         * Gets or creates an SMB session for the given context.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top