Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getFlags2 (0.15 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

         * @param signingEnforced
         */
        public SmbComNegotiate ( Configuration config, boolean signingEnforced ) {
            super(config, SMB_COM_NEGOTIATE);
            this.signingEnforced = signingEnforced;
            setFlags2(config.getFlags2());
    
            if ( config.getMinimumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "SMB 2.???", "SMB 2.002"
                };
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         * clear (<code>false</code>) the specified flag.
         */
        public void setFlag(int flag, boolean value) {
            setFlags(value ? (getFlags() | flag) :
                    (getFlags() & (0xffffffff ^ flag)));
        }
    
        static int readULong(byte[] src, int index) {
            return (src[index] & 0xff) |
                    ((src[index + 1] & 0xff) << 8) |
                    ((src[index + 2] & 0xff) << 16) |
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/NtlmMessage.java

         *            clear (<code>false</code>) the specified flag.
         */
        public void setFlag ( int flag, boolean value ) {
            setFlags(value ? ( getFlags() | flag ) : ( getFlags() & ( 0xffffffff ^ flag ) ));
        }
    
    
        static int readULong ( byte[] src, int index ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        public byte[] toByteArray() {
            try {
                String suppliedDomain = getSuppliedDomain();
                String suppliedWorkstation = getSuppliedWorkstation();
                int flags = getFlags();
                boolean hostInfo = false;
                byte[] domain = new byte[0];
                if (suppliedDomain != null && suppliedDomain.length() != 0) {
                    hostInfo = true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/NtlmTest.java

            Type1Message t1 = new Type1Message(this.context, flags, suppliedDomain, suppliedWorkstation);
    
            int origFlags = t1.getFlags();
    
            Type1Message parsed = new Type1Message(t1.toByteArray());
    
            assertEquals(origFlags, parsed.getFlags());
    
            if ( parsed.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED) ) {
                assertEquals(suppliedDomain, parsed.getSuppliedDomain());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvFlags.java

    
        /**
         * 
         * @param flags
         */
        public AvFlags ( int flags ) {
            this(encode(flags));
        }
    
    
        /**
         * 
         * @return flags
         */
        public int getFlags () {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
    
        private static byte[] encode ( int flags ) {
            byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
            return raw;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SSPContext.java

         * @return whether the specified mechanism is preferred
         */
        boolean isPreferredMech ( ASN1ObjectIdentifier selectedMech );
    
    
        /**
         * @return context flags
         */
        int getFlags ();
    
    
        /**
         * @return array of supported mechanism OIDs
         */
        ASN1ObjectIdentifier[] getSupportedMechs ();
    
    
        /**
         * 
         * @return whether this mechanisms supports integrity
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type1Message.java

            this.suppliedWorkstation = suppliedWorkstation;
        }
    
    
        @Override
        public byte[] toByteArray () {
            try {
                int flags = getFlags();
                int size = 8 * 4 + ( ( flags & NTLMSSP_NEGOTIATE_VERSION ) != 0 ? 8 : 0 );
    
                byte[] domain = new byte[0];
                String suppliedDomainString = getSuppliedDomain();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                                Hexdump.hexdump(log, token, 0, token.length);
                        }
    
                        serverChallenge = msg2.getChallenge();
                        ntlmsspFlags &= msg2.getFlags();
    
    //                  netbiosName = getNtlmsspListItem(token, 0x0001);
    
                        Type3Message msg3 = new Type3Message(msg2,
                                    auth.getPassword(),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ACE.java

        }
        /**
         * Returns the flags for this ACE. The </tt>isInherited()</tt>
         * method checks the <tt>FLAGS_INHERITED</tt> bit in these flags.
         */
        public int getFlags() {
            return flags;
        }
        /**
         * Returns the 'Apply To' text for inheritance of ACEs on
         * directories such as 'This folder, subfolder and files'. For
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
Back to top