Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isSignatureSetupRequired (0.17 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplTest.java

            setField(session, "digest", dg);
            assertFalse(session.isSignatureSetupRequired());
    
            // Case 2: no digest, signing enforced by transport -> true
            setField(session, "digest", null);
            when(transport.isSigningEnforced()).thenReturn(true);
            assertTrue(session.isSignatureSetupRequired());
    
            // Case 3: not enforced, rely on negotiate response flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                t.treeConnect(null, null);
            } catch (CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        boolean isSignatureSetupRequired() throws SmbException {
            SMBSigningDigest cur = getDigest();
            if (cur != null) {
                return false;
            }
            if (this.transport.isSigningEnforced()) {
                return true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                             * Only the first SMB_COM_SESSION_SETUP_ANX with non-null or
                             * blank password initializes signing.
                             */
                            if (transport.isSignatureSetupRequired(auth)) {
                                if (auth.hashesExternal && NtlmPasswordAuthentication.DEFAULT_PASSWORD != NtlmPasswordAuthentication.BLANK) {
                                    /* preauthentication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            } catch (final IOException ioe) {
                throw new SmbException(ioe.getMessage(), ioe);
            }
            return (capabilities & cap) == cap;
        }
    
        boolean isSignatureSetupRequired(final NtlmPasswordAuthentication auth) {
            return (flags2 & SmbConstants.FLAGS2_SECURITY_SIGNATURES) != 0 && digest == null && auth != NtlmPasswordAuthentication.NULL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top