Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 94 for Negotiate (0.04 sec)

  1. src/test/java/jcifs/config/SecurityConfigurationTest.java

         */
        @Test
        public void testSecureNegotiateRequired() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify secure negotiate is required for SMB3
            assertTrue("Secure negotiate should be required for SMB3", config.isRequireSecureNegotiate());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        }
    
        /**
         * Returns the server capabilities negotiated during the SMB handshake.
         *
         * @return the negotiated capabilities
         */
        public int getNegotiatedCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the negotiated send buffer size.
         *
         * @return negotiated send buffer size
         */
        public int getNegotiatedSendBufferSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * to a remote host. Newer TLS options are quite useful:
     *
     *  * Server Name Indication (SNI) enables one IP address to negotiate secure connections for
     *    multiple domain names.
     *
     *  * Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used to
     *    negotiate HTTP/2.
     *
     * Unfortunately, older HTTPS servers refuse to connect when such options are presented. Rather than
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
            // Create a custom filter that overrides negotiate to test skipAuthentication
            NtlmHttpFilter customFilter = new NtlmHttpFilter() {
                @Override
                protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication)
                        throws IOException, ServletException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

         */
        @Override
        public byte[] getServerEncryptionKey() {
            if (this.negotiated == null) {
                return null;
            }
    
            if (this.negotiated instanceof SmbComNegotiateResponse) {
                return ((SmbComNegotiateResponse) this.negotiated).getServerData().encryptionKey;
            }
            return null;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(transport.isSMB2()).thenReturn(false);
            when(transport.getContext()).thenReturn(context);
            when(session.getTargetHost()).thenReturn("localhost");
    
            // Mock negotiate response for SMB1
            SmbComNegotiateResponse nego = mock(SmbComNegotiateResponse.class);
            ServerData serverData = new ServerData();
            when(nego.getServerData()).thenReturn(serverData);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info response data structure. This structure contains the server's
     * validation of the originally negotiated SMB2 dialect.
     *
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoResponse implements Decodable {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Interface for SMB protocol negotiation request messages.
     * Represents the client's request to negotiate SMB protocol version and capabilities
     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            byte[] initialHash = preauthService.getCurrentPreauthHash(sessionId);
            assertNotNull(initialHash);
    
            // Update with negotiate message
            byte[] negotiateMessage = "SMB2 Negotiate Request".getBytes();
            preauthService.updatePreauthHash(sessionId, negotiateMessage);
    
            byte[] afterNegotiateHash = preauthService.getCurrentPreauthHash(sessionId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

            try {
                resp = send(req, RequestParam.NO_RETRY);
            } catch (final SMBSignatureValidationException e) {
                throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e);
            } catch (final SmbException e) {
                if (log.isDebugEnabled()) {
                    log.debug(String.format("VALIDATE_NEGOTIATE_INFO response code 0x%x", e.getNtStatus()));
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top