Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for getFlags (0.06 sec)

  1. 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)
  2. src/main/java/jcifs/ntlmssp/NtlmMessage.java

         *            Indicates whether to set (<code>true</code>) or
         *            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)
  3. 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)
  4. src/test/java/jcifs/tests/NtlmTest.java

            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());
            }
    
            if ( parsed.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

            } catch (final IOException exception) {
                throw new NTLMEngineException("Invalid NTLM type 2 message", exception);
            }
            final int type2Flags = type2Message.getFlags();
            final int type3Flags = type2Flags & (0xffffffff ^ (NtlmFlags.NTLMSSP_TARGET_TYPE_DOMAIN | NtlmFlags.NTLMSSP_TARGET_TYPE_SERVER));
            try {
                final Type3Message type3Message =
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K 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/internal/smb2/ServerMessageBlock2Response.java

        public final boolean isError () {
            return this.error;
        }
    
    
        /**
         * @return whether the packet has been signed.
         */
        public boolean isSigned () {
            return ( getFlags() & SMB2_FLAGS_SIGNED ) != 0;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getExpiration()
         */
        @Override
        public Long getExpiration () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
Back to top