Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for setFlags (0.25 seconds)

  1. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         *
         * @return An <code>int</code> containing the flags in use for this
         * message.
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the flags for this message.
         *
         * @param flags The flags for this message.
         */
        public void setFlags(final int flags) {
            this.flags = flags;
        }
    
        /**
         * Returns the status of the specified flag.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

         * @param suppliedWorkstation The supplied workstation name.
         */
        public Type1Message(final int flags, final String suppliedDomain, String suppliedWorkstation) {
            setFlags(getDefaultFlags() | flags);
            setSuppliedDomain(suppliedDomain);
            if (suppliedWorkstation == null) {
                suppliedWorkstation = getDefaultWorkstation();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/NtlmMessage.java

         * @param value
         *            Indicates whether to set (<code>true</code>) or
         *            clear (<code>false</code>) the specified flag.
         */
        public void setFlag(final int flag, final boolean value) {
            setFlags(value ? getFlags() | flag : getFlags() & (0xffffffff ^ flag));
        }
    
        static int readULong(final byte[] src, final int index) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java

        }
    
        /**
         * Gets the registration flags.
         *
         * @return the flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the registration flags.
         *
         * @param flags the flags
         */
        public void setFlags(int flags) {
            this.flags = flags;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/ntlmssp/Type1Message.java

         * @param suppliedWorkstation
         *            The supplied workstation name.
         */
        public Type1Message(final CIFSContext tc, final int flags, final String suppliedDomain, final String suppliedWorkstation) {
            setFlags(getDefaultFlags(tc) | flags);
            setSuppliedDomain(suppliedDomain);
            setSuppliedWorkstation(suppliedWorkstation);
        }
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        void testDefaultFlags() {
            assertEquals(0, msg.getFlags(), "Initial flags should be 0");
        }
    
        @ParameterizedTest(name = "setFlags({0}) ➜ getFlags() == {0}")
        @ValueSource(ints = { 0x0, 0x1, 0x2, 0xFFFFFFFF, -123456 })
        void testSetAndGetFlags(int value) {
            msg.setFlags(value);
            assertEquals(value, msg.getFlags(), "getFlags should return the value set");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /**
         * Gets the registration flags.
         *
         * @return the registration flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the registration flags.
         *
         * @param flags the registration flags
         */
        public void setFlags(int flags) {
            this.flags = flags;
        }
    
        /**
         * Gets the context handle.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @param flags
         *            the flags to set
         */
        public void setFlags(final int flags) {
            this.flags = flags;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

         * Sets the registration flags.
         *
         * @param flags the registration flags
         */
        public void setFlags(int flags) {
            this.flags = flags;
        }
    
        /**
         * Gets the registration flags.
         *
         * @return the registration flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the timeout value in seconds.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode);
        }
    
        /**
         * Set the IOCTL flags
         * @param flags the flags to set
         */
        public void setFlags(final int flags) {
            this.flags = flags;
        }
    
        /**
         * Set the maximum input response size
         * @param maxInputResponse the maxInputResponse to set
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top