Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for Decode (0.18 sec)

  1. 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";
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                    this.info.decode(_src);
    
                }
                int _totalentriesp = _src.dec_ndr_long();
                if ( _totalentriesp != 0 ) {
                    this.totalentries.decode(_src);
    
                }
                this.retval = _src.dec_ndr_long();
            }
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

        public int type;
        public ACE[] aces;
    
        public SecurityDescriptor() {
        }
        public SecurityDescriptor(byte[] buffer, int bufferIndex, int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
        public int decode(byte[] buffer, int bufferIndex, int len) throws IOException {
            int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/rpc.java

                _dst = _dst.derive(_nodei);
                for ( int _i = 0; _i < _nodes; _i++ ) {
                    _dst.enc_ndr_small(this.node[ _i ]);
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                this.time_low = _src.dec_ndr_long();
                this.time_mid = (short) _src.dec_ndr_short();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/samr.java

            }
    
    
            @Override
            public void encode_in ( NdrBuffer _dst ) throws NdrException {
                this.handle.encode(_dst);
                _dst.enc_ndr_long(this.access_mask);
                this.sid.encode(_dst);
            }
    
    
            @Override
            public void decode_out ( NdrBuffer _src ) throws NdrException {
                this.domain_handle.decode(_src);
                this.retval = _src.dec_ndr_long();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                this.count = count;
            }
    
            public void encode_in(NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
                sids.encode(_dst);
                names.encode(_dst);
                _dst.enc_ndr_short(level);
                _dst.enc_ndr_long(count);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                int _domainsp = _src.dec_ndr_long();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 33K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            }
    
    
            @Override
            public void encode_in ( NdrBuffer _dst ) throws NdrException {
                this.handle.encode(_dst);
                this.sids.encode(_dst);
                this.names.encode(_dst);
                _dst.enc_ndr_short(this.level);
                _dst.enc_ndr_long(this.count);
            }
    
    
            @Override
            public void decode_out ( NdrBuffer _src ) throws NdrException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 35.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

         * @return the totalBytesWritten
         */
        public byte[] getData () {
            return this.data;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.namedPipeState = SMBUtil.readInt4(buffer, bufferIndex);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

    
    /**
     * @author mbechler
     *
     */
    public final class AvPairs {
    
        private AvPairs () {}
    
    
        /**
         * Decode a list of AvPairs
         * 
         * @param data
         * @return individual pairs
         * @throws CIFSException
         */
        public static List<AvPair> decode ( byte[] data ) throws CIFSException {
            List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    hdrBuf.setIndex(0);
                    msg.decode_header(hdrBuf);
                }
    
                NdrBuffer msgBuf;
                if ( have != 0 && !msg.isFlagSet(DCERPC_LAST_FRAG) ) {
                    msgBuf = new NdrBuffer(receiveMoreFragments(msg, inB), 0);
                }
                else {
                    msgBuf = new NdrBuffer(inB, 0);
                }
                msg.decode(msgBuf);
            }
            finally {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
Back to top