Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for sinn (0.12 sec)

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

        /**
         * Specifies that communication across the authenticated channel
         * should carry a digital signature (message integrity).
         */
        public static final int NTLMSSP_NEGOTIATE_SIGN = 0x00000010;
    
        /**
         * Specifies that communication across the authenticated channel
         * should be encrypted (message confidentiality).
         */
        public static final int NTLMSSP_NEGOTIATE_SEAL = 0x00000020;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                                clientChallenge);
    
                    setLMResponse(clientChallenge);
                    setNTResponse(ntlm2Response);
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) {
                        byte[] sessionNonce = new byte[16];
                        System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         *
         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
         * @param length The length of the SMB data starting at offset. 
         */
        void sign(byte[] data, int offset, int length,
                    ServerMessageBlock request, ServerMessageBlock response) {
            request.signSeq = signSequence;
            if( response != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

            return out;
        }
    
    
        protected void initSessionSecurity ( byte[] mk ) {
            this.signKey = deriveKey(mk, C2S_SIGN_CONSTANT);
            this.verifyKey = deriveKey(mk, S2C_SIGN_CONSTANT);
    
            if ( log.isDebugEnabled() ) {
                log.debug("Sign key is " + Hexdump.toHexString(this.signKey));
                log.debug("Verify key is " + Hexdump.toHexString(this.verifyKey));
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            dstIndex += writeHeaderWireFormat( dst, dstIndex );
            dstIndex += writeAndXWireFormat( dst, dstIndex );
            length = dstIndex - start;
    
            if( digest != null ) {
                digest.sign( dst, headerStart, length, this, response );
            }
    
            return length;
        }
    
        /*
         * We overload this because we want readAndXWireFormat to
         * read the parameter words and bytes. This is so when
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null)
                request.digest = digest; /* for sign called in encode */
    
            try {
                if (response == null) {
                    doSend0( request );
                    return;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                int off = nextStart - start;
                SMBUtil.writeInt4(off, dst, start + 20);
                len += dstIndex - nextStart;
            }
    
            if ( this.digest != null ) {
                this.digest.sign(dst, this.headerStart, this.length, this, getResponse());
            }
    
            if ( isRetainPayload() ) {
                this.rawPayload = new byte[len];
                System.arraycopy(dst, start, this.rawPayload, 0, len);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         * 
         * This does not provide any actual downgrade protection if SMB1 is allowed.
         * 
         * It will also break connections with SMB2 servers that do not properly sign error responses.
         * 
         * @return whether to enforce the use of secure negotiation.
         */
        boolean isRequireSecureNegotiate ();
    
    
        /**
         * Enable port 139 failover
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex++] = (byte)(( byteCount >> 8 ) & 0xFF );
            dstIndex += byteCount;
    
            length = dstIndex - start;
    
            if( digest != null ) {
                digest.sign( dst, headerStart, length, this, response );
            }
    
            return length;
        }
        int decode( byte[] buffer, int bufferIndex ) {
            int start = headerStart = bufferIndex;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            dst[ dstIndex++ ] = (byte) ( ( this.byteCount >> 8 ) & 0xFF );
            dstIndex += this.byteCount;
    
            this.length = dstIndex - start;
    
            if ( this.digest != null ) {
                this.digest.sign(dst, this.headerStart, this.length, this, this.response);
            }
    
            return this.length;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
Back to top