Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 90 for decoder (0.06 sec)

  1. src/main/java/jcifs/smb1/util/Encdec.java

        }
    
        /* Decode floating point numbers
         */
    
        public static float dec_floatle( byte[] src, int si )
        {
            return Float.intBitsToFloat( dec_uint32le( src, si ));
        }
        public static float dec_floatbe( byte[] src, int si )
        {
            return Float.intBitsToFloat( dec_uint32be( src, si ));
        }
    
        /* Encode and decode doubles
         */
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

         * @param len
         * @throws IOException
         */
        public FileNotifyInformationImpl ( byte[] buffer, int bufferIndex, int len ) throws IOException {
            decode(buffer, bufferIndex, len);
        }
    
    
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            if (len == 0) {
            	// nothing to do
            	return 0;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 17 08:55:32 UTC 2018
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

         * @param passwordHashHex
         *            NT password hash, hex encoded
         */
        public NtlmNtHashAuthenticator ( String domain, String username, String passwordHashHex ) {
            this(domain, username, Hex.decode(passwordHashHex));
        }
    
    
        private NtlmNtHashAuthenticator ( byte[] passwordHash ) {
            super();
            this.ntHash = passwordHash;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

            if ( this.getErrorCode() != 0 )
                return 4;
    
            try {
                this.securityDescriptor = new SecurityDescriptor();
                bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len);
            }
            catch ( IOException ioe ) {
                throw new RuntimeCIFSException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

            List<FileEntry> infos = new ArrayList<>();
            do {
                FileBothDirectoryInfo cur = createFileInfo();
                if ( cur == null ) {
                    break;
                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                int nextEntryOffset = cur.getNextEntryOffset();
                if ( nextEntryOffset > 0 ) {
                    bufferIndex += nextEntryOffset;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            int start = bufferIndex;
            FileInformation inf = createFileInformation();
            if ( inf != null ) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
    
        private FileInformation createFileInformation () {
            FileInformation inf;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmServlet.java

                    if ( ntlm == null )
                        return;
                }
                else {
                    String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = ( index != -1 ) ? auth.substring(0, index) : auth;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        break;
                    }
                }
                if ( this.authMethod == null )
                    return null;
                NtlmMessage message = ( authorization != null ) ? new Type2Message(Base64.decode(authorization)) : null;
                reconnect();
                if ( message == null ) {
                    message = new Type1Message(this.transportContext);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ACE.java

        public int getAccessMask() {
            return access;
        }
    
        /**
         * Return the SID associated with this ACE.
         */
        public SID getSID() {
            return sid;
        }
    
        int decode( byte[] buf, int bi ) {
            allow = buf[bi++] == (byte)0x00;
            flags = buf[bi++] & 0xFF;
            int size = ServerMessageBlock.readInt2(buf, bi);
            bi += 2;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
                        return;
                    }
                } else { /* Basic */
                    String auth = new String( Base64.decode( msg.substring(6) ), "US-ASCII" );
                    int index = auth.indexOf( ':' );
                    String user = (index != -1) ? auth.substring(0, index) : auth;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
Back to top