Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for capabilities (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

            // Default constructor
        }
    
        private int capabilities;
        private final byte[] serverGuid = new byte[16];
        private int securityMode;
        private int dialect;
    
        /**
         * Gets the server capabilities
         *
         * @return the capabilities flags from the server
         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the server GUID
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.putInt(8192); // maxBufferSize
            buffer.putInt(65536); // maxRawSize
            buffer.putInt(123456789); // sessionKey
            buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities
            buffer.putLong(new Date().getTime()); // serverTime
            buffer.putShort((short) -480); // serverTimeZone
            buffer.put((byte) 8); // encryptionKeyLength
    
            byte[] paramWords = buffer.array();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize);
    
            this.capabilities &= this.server.scapabilities;
            if ((this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY) == SmbConstants.CAP_EXTENDED_SECURITY) {
                this.capabilities |= SmbConstants.CAP_EXTENDED_SECURITY; // & doesn't copy high bit
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

     */
    public class ValidateNegotiateInfoRequest implements Encodable {
    
        private final int capabilities;
        private final byte[] clientGuid;
        private final int securityMode;
        private final int dialects[];
    
        /**
         * Constructs a ValidateNegotiateInfo request
         *
         * @param capabilities
         *            the client capabilities flags
         * @param clientGuid
         *            the client GUID
         * @param securityMode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

         * @param capabilities
         *            the client capabilities
         * @param previousSessionid
         *            the previous session ID for reconnection (or 0 for new session)
         * @param token
         *            the security token for authentication
         */
        public Smb2SessionSetupRequest(final CIFSContext context, final int securityMode, final int capabilities, final long previousSessionid,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                    + ",maxRawSize=" + server.maxRawSize + ",sessionKey=0x" + Hexdump.toHexString(server.sessionKey, 8) + ",capabilities=0x"
                    + Hexdump.toHexString(server.capabilities, 8) + ",serverTime=" + new Date(server.serverTime) + ",serverTimeZone="
                    + server.serverTimeZone + ",encryptionKeyLength=" + server.encryptionKeyLength + ",byteCount=" + byteCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                // Verify each is a power of 2
                for (int cap : capabilities) {
                    assertTrue(isPowerOfTwo(cap), "Capability 0x" + Integer.toHexString(cap) + " should be a power of 2");
                }
    
                // Verify no overlapping bits
                for (int i = 0; i < capabilities.length; i++) {
                    for (int j = i + 1; j < capabilities.length; j++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        }
    
        /**
         * Gets the capabilities returned by the server.
         *
         * @return the server returned capabilities
         */
        public final int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the common capabilities negotiated between client and server.
         *
         * @return the common/negotiated capabilities
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
            snd_buf_size = Math.min(snd_buf_size, server.maxBufferSize);
            capabilities &= server.capabilities;
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY) {
                capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit
            }
    
            if ((capabilities & SmbConstants.CAP_UNICODE) == 0) {
                // server doesn't want unicode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

        private final SmbComNegotiateResponse negotiated;
        private int capabilities;
    
        /**
         * Constructs a session setup AndX request.
         *
         * @param tc the CIFS context containing configuration and credentials
         * @param negotiated the negotiation response containing server capabilities
         * @param andx the next command in the AndX chain, or null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top