Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Zero (0.49 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            byte[] keybytes = key.getEncoded();
            Cipher cipher = Cipher.getInstance("AES/CBC/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length));
            if ( constant.length != cipher.getBlockSize() ) {
                constant = expandNFold(constant, cipher.getBlockSize());
            }
            byte[] enc = constant;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            int start = dstIndex;
    
            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
    
            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex);
            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

            }
    
            if ( usage == 0 ) {
                if ( log.isTraceEnabled() ) {
                    log.trace("Transport usage dropped to zero " + this);
                }
            }
            else if ( usage < 0 ) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            // observed two zero bytes here with at least win98
            return 2;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * signing and sealing authenticated communication.
         */
        public static final int NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080;
    
        /**
         * ??? According to spec this is a reserved bit and must be set to zero
         */
        public static final int NTLMSSP_NEGOTIATE_NETWARE = 0x00000100;
    
        /**
         * Indicates support for NTLM authentication.
         */
        public static final int NTLMSSP_NEGOTIATE_NTLM = 0x00000200;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SID.java

         */
        public boolean isEmpty () {
            return this.sub_authority_count == 0;
        }
    
    
        /**
         * 
         * @return whether the SID is blank (all sub-authorities zero)
         */
        public boolean isBlank () {
            boolean blank = true;
            for ( int sub : this.sub_authority )
                blank = blank && ( sub == 0 );
            return blank;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         */
        public SMB1SigningDigest ( byte[] macSigningKey ) {
            this.digest = Crypto.getMD5();
            this.macSigningKey = macSigningKey;
        }
    
    
        /**
         * Construct a digest with a non-zero starting sequence number
         * 
         * @param macSigningKey
         * @param initialSequence
         */
        public SMB1SigningDigest ( byte[] macSigningKey, int initialSequence ) {
            this.digest = Crypto.getMD5();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                            buffer[bufferIndex + len + 1] != (byte)0x00 ) {
                                len += 2;
                                if( len > 256 ) {
                                    throw new RuntimeException( "zero termination not found" );
                                }
                            }
                            server.oemDomainName = new String( buffer, bufferIndex,
                                    len, UNI_ENCODING );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            dstIndex += 4;
    
            // ReadChannelInfo
            SMBUtil.writeInt2(0, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2);
            dstIndex += 4;
    
            // one byte in buffer must be zero
            dst[ dstIndex ] = 0;
            dstIndex += 1;
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.2K bytes
    - Viewed (0)
Back to top