Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for getFlags2 (0.14 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/smb/NtlmContext.java

            }
            ret += "]";
            return ret;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getFlags()
         */
        @Override
        public int getFlags () {
            return 0;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) {
                    HMACT64 hmac = new HMACT64(responseKeyNT);
                    hmac.update(ntResponse, 0, 16); // only first 16 bytes of ntResponse
                    byte[] userSessionKey = hmac.digest();
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K 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/ntlmssp/Type2Message.java

            if ( type1 == null )
                return getDefaultFlags(tc);
            int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
            int type1Flags = type1.getFlags();
            flags |= ( ( type1Flags & NTLMSSP_NEGOTIATE_UNICODE ) != 0 ) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
            if ( ( type1Flags & NTLMSSP_REQUEST_TARGET ) != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                String targetName = getTarget();
                byte[] challenge = getChallenge();
                byte[] context = getContext();
                byte[] targetInformation = getTargetInformation();
                int flags = getFlags();
                byte[] target = new byte[0];
                if ((flags & NTLMSSP_REQUEST_TARGET) != 0) {
                    if (targetName != null && targetName.length() != 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  10. 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)
Back to top