Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 128 for SMBProtocolDecodingException (0.17 sec)

  1. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the FILE_STANDARD_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            if (len < 32) {
                throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len);
            }
    
            // Read lease V1 data (32 bytes)
            byte[] keyBytes = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

         * @param len the length of data to decode
         * @return the number of bytes decoded
         * @throws SMBProtocolDecodingException if the data cannot be properly decoded
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            if (len > this.outputBuffer.length) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
    
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Encryption Negotiate Context.
     *
     * This negotiate context is used in SMB 3.x to negotiate
     * encryption capabilities and cipher suites.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 24) {
                throw new SMBProtocolDecodingException("Expected structureSize = 24");
            }
    
            this.oplockLevel = buffer[bufferIndex + 2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len);
            }
    
            // Read reserved field (should be all zeros but we don't validate)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    import java.util.Date;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * Represents the FILE_BASIC_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            // StructureSize (2 bytes) - must be 36
            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.structureSize != 36) {
                throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top