Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 253 for decodeId (2.86 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                    _src = _src.deferred;
                    root_directory.decode(_src);
    
                }
                if (_object_namep != 0) {
                    if (object_name == null) { /* YOYOYO */
                        object_name = new rpc.unicode_string();
                    }
                    _src = _src.deferred;
                    object_name.decode(_src);
    
                }
                if (_security_quality_of_servicep != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/samr.java

                }
                _dst.enc_ndr_long(this.access_mask);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                this.handle.decode(_src);
                this.retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR Connect4 operation for establishing a connection to the SAM database.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                }
                _dst.enc_ndr_long(access_mask);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                handle.decode(_src);
                retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR Connect4 operation for establishing a connection to the SAM database.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

     */
    package jcifs.internal;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when errors occur during SMB protocol message decoding.
     * Indicates that an SMB message could not be properly parsed or decoded due to
     * malformed data, protocol violations, or unsupported message formats.
     *
     * @author mbechler
     */
    public class SMBProtocolDecodingException extends CIFSException {
    
        /**
         *
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PACDecodingException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when PAC (Privilege Attribute Certificate) data cannot be decoded.
     * Indicates malformed or invalid PAC structures in Kerberos tickets.
     */
    public class PACDecodingException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                SMBUtil.writeInt2(0, buffer, SmbConstants.SMB1_HEADER_LENGTH + 1);
    
                assertThrows(SMBProtocolDecodingException.class, () -> {
                    testBlock.decode(buffer, 0);
                });
            }
    
            @Test
            @DisplayName("Test decode with retain payload")
            void testDecodeWithRetainPayload() throws SMBProtocolDecodingException {
                testBlock.retainPayload();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

        public void setInterfaces(List<NetworkInterfaceInfo> interfaces) {
            this.interfaces = interfaces;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) {
            int start = bufferIndex;
            int end = start + len;
            interfaces.clear();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertNull(response.getInfo());
        }
    
        @Test
        void testReadDataWireFormat_EmptyBuffer() throws Exception {
            // Test with empty dataCount but decode still processes buffer
            // Note: SmbInfoAllocation.decode() doesn't check len parameter, always reads 20 bytes
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            // Call the decode method
            ndrLong.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_long was called exactly once
            verify(mockNdrBuffer, times(1)).dec_ndr_long();
            // Verify that the value field was updated correctly
            assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            int decodedValue = 200;
            when(mockNdrBuffer.dec_ndr_small()).thenReturn(decodedValue);
    
            // Create an NdrSmall object (initial value doesn't matter for decode)
            NdrSmall ndrSmall = new NdrSmall(0);
    
            // Call the decode method
            ndrSmall.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_small was called
            verify(mockNdrBuffer, times(1)).dec_ndr_small();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top