Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 90 for decoder (0.1 sec)

  1. src/main/java/jcifs/http/NtlmSsp.java

                throws IOException {
            String msg = req.getHeader("Authorization");
            if ( msg != null && msg.startsWith("NTLM ") ) {
                byte[] src = Base64.decode(msg.substring(5));
                if ( src[ 8 ] == 1 ) {
                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(tc, type1, challenge, null);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            for ( int i = 0; i < getNumEntries(); i++ ) {
                results[ i ] = e = new FileBothDirectoryInfo(getConfig(), isUseUnicode());
    
                e.decode(buffer, bufferIndex, len);
    
                /*
                 * lastNameOffset ends up pointing to either to
                 * the exact location of the filename(e.g. Win98)
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcMessage.java

                buf.enc_ndr_long(this.alloc_hint);
            }
    
            buf.setIndex(start);
            encode_header(buf);
            buf.setIndex(start + this.length);
        }
    
    
        @Override
        public void decode ( NdrBuffer buf ) throws NdrException {
            decode_header(buf);
    
            if ( this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13 )
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/Referral.java

        }
    
    
        /**
         * @return the expandedNames
         */
        public final String[] getExpandedNames () {
            return this.expandedNames;
        }
    
    
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            this.version = SMBUtil.readInt2(buffer, bufferIndex);
            if ( this.version != 3 && this.version != 1 ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    break;
                }
            }
            if (authMethod == null) return null;
            NtlmMessage message = (authorization != null) ?
                    new Type2Message(Base64.decode(authorization)) : null;
            reconnect();
            if (message == null) {
                message = new Type1Message();
                if (LM_COMPATIBILITY > 2) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Decodable.java

    
    /**
     * @author mbechler
     *
     */
    public interface Decodable {
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param len
         * @return decoded length
         * @throws SMBProtocolDecodingException
         */
        int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            return this.ownerUserSid;
        }
    
    
        /**
         * 
         * @param buffer
         * @param bufferIndex
         * @param len
         * @return decoded data length
         * @throws SMBProtocolDecodingException
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            bufferIndex++; // revision
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

    
        /**
         * @param responseType
         * @return decoded data
         * @throws SmbException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getOutputData ( Class<T> responseType ) throws SmbException {
    
            Decodable out = getOutputData();
    
            if ( out == null ) {
                throw new SmbException("Failed to decode output data");
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/PACTest.java

            Mac m = Mac.getInstance("HmacMD5");
            m.init(new SecretKeySpec(Hex.decode(key), "HMAC"));
            byte[] mac = m.doFinal(bytes);
            checkBytes(Hex.decode(expect), mac);
        }
    
    
        @Test
        public void testRC4Checksum1 () throws PACDecodingException, GeneralSecurityException {
            String data = "fifteen sixteen";
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

                if ( this.netname != null ) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.netname);
    
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                int _netnamep = _src.dec_ndr_long();
    
                if ( _netnamep != 0 ) {
                    _src = _src.deferred;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
Back to top