Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for getFlag (0.06 sec)

  1. src/main/java/jcifs/ntlmssp/Type3Message.java

            pos += 8;
            int skOff = writeSecurityBuffer(type3, 52, sessionKeyBytes);
            pos += 8;
    
            writeULong(type3, pos, getFlags());
            pos += 4;
    
            if ( getFlag(NTLMSSP_NEGOTIATE_VERSION) ) {
                System.arraycopy(NTLMSSP_VERSION, 0, type3, pos, NTLMSSP_VERSION.length);
                pos += NTLMSSP_VERSION.length;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

                            || !msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY) ) ) {
                        throw new SmbUnsupportedOperationException("Server does not support extended NTLMv2 key exchange");
                    }
    
                    if ( !msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_128) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type2Message.java

    
        @Override
        public byte[] toByteArray () throws IOException {
            int size = 48;
            int flags = getFlags();
            String targetName = getTarget();
            byte[] targetInformationBytes = getTargetInformation();
            byte[] targetBytes = new byte[0];
    
            if ( getFlag(NTLMSSP_REQUEST_TARGET) ) {
                if ( targetName != null && targetName.length() != 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)
  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/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)
  6. 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 ( 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)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

         */
        public Type2Message(Type1Message type1, byte[] challenge, String target) {
            this(getDefaultFlags(type1), challenge, (type1 != null &&
                    target == null && type1.getFlag(NTLMSSP_REQUEST_TARGET)) ?
                            getDefaultDomain() : target);
        }
    
        /**
         * Creates a Type-2 message with the specified parameters.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb/SpnegoContext.java

                SPNEGO_MECH_OID
            };
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getFlags()
         */
        @Override
        public int getFlags () {
            return this.mechContext.getFlags();
        }
    
    
        @Override
        public boolean isSupported ( ASN1ObjectIdentifier mechanism ) {
            // prevent nesting
            return false;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  10. impl/maven-core/pom.xml

                  <exclude>org.apache.maven.toolchain.DefaultToolchain#getLog():METHOD_RETURN_TYPE_CHANGED</exclude>
                  <exclude>org.apache.maven.toolchain.DefaultToolchain#DefaultToolchain(org.apache.maven.toolchain.model.ToolchainModel,org.codehaus.plexus.logging.Logger):CONSTRUCTOR_REMOVED</exclude>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:40:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top