Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for aligning (0.05 sec)

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

         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getMaximumBufferSize() throws CIFSException;
    
        /**
         * Checks if SMB message signing is active for this session
         * @return whether the session uses SMB signing
         * @throws CIFSException if a general CIFS error occurs
         * @throws SmbException if an SMB-specific error occurs
         */
        boolean areSignaturesActive() throws CIFSException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertFalse(result);
            verify(negotiationResponse).canReuse(null, false);
        }
    
        @Test
        @DisplayName("Test signing state combinations")
        void testSigningStateCombinations() {
            // Test all combinations of signing states
    
            // Signing disabled
            when(negotiationResponse.isSigningEnabled()).thenReturn(false);
            when(negotiationResponse.isSigningRequired()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTransportPool.java

         * @param name the server name or address
         * @param port the port number
         * @param exclusive whether to acquire an unshared connection
         * @param forceSigning whether to enforce SMB signing
         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

        class NegotiationConstants {
    
            @Test
            @DisplayName("Signing enabled flag should be 0x0001")
            void testSigningEnabledFlag() {
                assertEquals(0x0001, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, "Signing enabled flag must be 0x0001");
            }
    
            @Test
            @DisplayName("Signing required flag should be 0x0002")
            void testSigningRequiredFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                                && !conn.getNegotiateResponse().isSigningRequired()) {
                            // if signing is not enforced, dont use connections that have signing enforced
                            // for purposes that dont require it.
                            if (log.isTraceEnabled()) {
                                log.debug("Cannot reuse, signing enforced on connection " + conn);
                            }
                            continue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         * SMB2 header length in bytes
         */
        public static final int SMB2_HEADER_LENGTH = 64;
    
        /**
         * SMB2 negotiate flag indicating signing is enabled
         */
        public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001;
    
        /**
         * SMB2 negotiate flag indicating signing is required
         */
        public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            default -> getNTLMResponse(password, challenge);
            };
        }
    
        /**
         * Returns the signing key for SMB signing.
         *
         * @param challenge the server challenge bytes
         * @return the signing key
         * @throws SmbException if an error occurs generating the signing key
         */
        public byte[] getSigningKey(final byte[] challenge) throws SmbException {
            switch (LM_COMPATIBILITY) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Indicates datagram authentication.
         */
        int NTLMSSP_NEGOTIATE_DATAGRAM_STYLE = 0x00000040;
    
        /**
         * Indicates that the LAN Manager session key should be used for
         * signing and sealing authenticated communication.
         */
        int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * ??? According to spec this is a reserved bit and must be set to zero
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertFalse(transport.isSigningEnforced());
            verify(transport).isSigningOptional();
            verify(transport).isSigningEnforced();
        }
    
        // Error propagation: signing checks may throw SmbException
        @Test
        @DisplayName("signing checks propagate SmbException")
        void signingChecks_throw() throws Exception {
            doThrow(new SmbException("opt error")).when(transport).isSigningOptional();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/ServerData.java

        /**
         * Whether the server requires encrypted passwords.
         */
        public boolean encryptedPasswords;
        /**
         * Whether message signing is enabled.
         */
        public boolean signaturesEnabled;
        /**
         * Whether message signing is required.
         */
        public boolean signaturesRequired;
        /**
         * Maximum number of virtual circuits.
         */
        public int maxNumberVcs;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top