Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for signify (0.07 sec)

  1. src/test/java/jcifs/SmbTransportPoolTest.java

                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, true, false);
            }
    
            @Test
            @DisplayName("Should get transport by name with forced signing")
            void testGetSmbTransportByNameForceSigning() throws UnknownHostException, IOException {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

                if (LogStream.level >= 3) {
                    SmbTransport.log.println("""
                            Default credentials (jcifs.smb1.smb1.client.username/password)\
                             not specified. SMB signing may not work propertly.\
                              Skipping DC interrogation.""");
                }
            } else {
                final SmbSession ssn = trans.getSmbSession(NtlmPasswordAuthentication.DEFAULT);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/CredentialsInternal.java

         * @param targetDomain the target domain for authentication
         * @param host the target host
         * @param initialToken initial authentication token, if any
         * @param doSigning whether message signing should be enabled
         * @return a new SSP authentication context
         * @throws SmbException if context creation fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
                    if (command == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended) {
                        wordCount += 8;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertNotNull(contexts);
            assertEquals(0, contexts.length);
            assertNull(request.getPreauthSalt());
        }
    
        @Test
        @DisplayName("Should enforce signing when required flag is set")
        void testSigningEnforced() {
            // When
            request = new Smb2NegotiateRequest(mockConfig, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                yield new byte[0];
            }
            };
        }
    
        /**
         * Get the signing key for this authentication
         *
         * @param tc the CIFS context
         * @param chlng the server challenge
         * @return the signing key
         * @throws SmbException if an SMB error occurs
         * @throws GeneralSecurityException if a security error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

        private Smb3KeyDerivation() {
        }
    
        /**
         * Derives the SMB3 signing key from the session key using the appropriate KDF for the dialect.
         *
         * @param dialect the SMB dialect version
         * @param sessionKey the base session key
         * @param preauthIntegrity the pre-authentication integrity hash (for SMB 3.1.1) or null
         * @return derived signing key
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertTrue(encryptionEnabled, "Should delegate encryption setting");
            assertFalse(signingPreferred, "Should delegate signing preferred setting");
            assertTrue(signingEnforced, "Should delegate signing enforced setting");
            assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting");
            assertTrue(firstExtendedSecurityCall, "First call should return true");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

        private String[] dialects;
    
        /**
         * Creates a new SMB1 negotiate request to establish protocol parameters.
         *
         * @param config the CIFS configuration
         * @param signingEnforced whether SMB signing is enforced
         */
        public SmbComNegotiate(final Configuration config, final boolean signingEnforced) {
            super(config, SMB_COM_NEGOTIATE);
            this.signingEnforced = signingEnforced;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (3)
  10. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(treeConnection, times(2)).isSame(otherConn);
        }
    
        @Test
        @DisplayName("Buffer sizes and signing flags from negotiate response")
        void bufferSizesAndSigning() throws Exception {
            // Validate buffer sizes and signing flag are read from negotiate response
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top