Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 249 for length (0.16 sec)

  1. src/main/java/jcifs/util/Crypto.java

        }
    
    
        /**
         * @param key
         *            7 or 8 byte DES key
         * @return DES cipher in encryption mode
         */
        public static Cipher getDES ( byte[] key ) {
            if ( key.length == 7 ) {
                return getDES(des7to8(key));
            }
    
            try {
                Cipher c = Cipher.getInstance("DES/ECB/NoPadding");
                c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Encodable.java

     */
    package jcifs;
    
    
    /**
     * @author mbechler
     *
     */
    public interface Encodable {
    
        /**
         * @param dst
         * @param dstIndex
         * @return encoded length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @return the encoded size
         */
        int size ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            super(config, SMB2_IOCTL);
            this.controlCode = controlCode;
            this.fileId = fileId;
            this.outputBuffer = outputBuffer;
            this.maxOutputResponse = outputBuffer.length;
        }
    
    
        @Override
        protected Smb2IoctlResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2IoctlResponse> req ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmChallenge.java

            this.challenge = challenge;
            this.dc = dc;
        }
    
    
        @Override
        public String toString () {
            return "NtlmChallenge[challenge=0x" + Hexdump.toHexString(this.challenge, 0, this.challenge.length * 2) + ",dc=" + this.dc.toString() + "]";
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            length = readInt4( buffer, bufferIndex );
            return 4;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            if (errorCode != 0)
                return 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 4);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/RC4.java

     */
    
    package jcifs.smb1.util;
    
    public class RC4
    {
    
        byte[] s;
        int i, j;
    
        public RC4()
        {
        }
        public RC4(byte[] key)
        {
            init(key, 0, key.length);
        }
    
        public void init(byte[] key, int ki, int klen)
        {
            s = new byte[256];
    
            for (i = 0; i < 256; i++)
                s[i] = (byte)i;
    
            for (i = j = 0; i < 256; i++) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

            }
    
            return bufferIndex - start;
        }
        public String toString() {
            String ret = "SecurityDescriptor:\n";
            if (aces != null) {
                for (int ai = 0; ai < aces.length; ai++) {
                    ret += aces[ai].toString() + "\n";
                }
            } else {
                ret += "NULL";
            }
            return ret;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                int workstationLength = (workstation != null) ?
                        workstation.length : 0;
                byte[] lmResponse = getLMResponse();
                int lmLength = (lmResponse != null) ? lmResponse.length : 0;
                byte[] ntResponse = getNTResponse();
                int ntLength = (ntResponse != null) ? ntResponse.length : 0;
                byte[] sessionKey = getSessionKey();
    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)
Back to top