Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 194 for structures (1.21 sec)

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

     */
    package jcifs.internal.fscc;
    
    import java.nio.charset.StandardCharsets;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) structure for File Rename Information.
     * Used in SMB2/SMB3 set file information operations to rename files or directories,
     * with support for specifying whether to replace existing files with the same name.
     *
     * @author mbechler
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacSignature.java

     */
    package jcifs.pac;
    
    import java.io.ByteArrayInputStream;
    import java.io.DataInputStream;
    import java.io.IOException;
    
    /**
     * Represents a PAC signature structure containing checksum type and data.
     * This class parses and holds signature information from Kerberos PAC data,
     * supporting various checksum algorithms including HMAC-MD5 and HMAC-SHA1 with AES.
     */
    public class PacSignature {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidSize() throws Exception {
                // Given - Invalid structure size
                byte[] buffer = new byte[16];
                buffer[0] = 0x0F; // Invalid size (15 instead of 16)
                buffer[1] = 0x00;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/samr.java

                this.domain_handle.decode(_src);
                this.retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR SAM Entry structure representing a SAM database entry.
         * Contains the relative ID and name of a SAM object.
         */
        public static class SamrSamEntry extends NdrObject {
    
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            public void decode_out(final NdrBuffer _src) throws NdrException {
                domain_handle.decode(_src);
                retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR SAM Entry structure representing a SAM database entry.
         * Contains the relative ID and name of a SAM object.
         */
        public static class SamrSamEntry extends NdrObject {
    
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java

        /**
         * SMB2 session flag indicating channel binding
         */
        public static final int SMB2_SESSION_FLAG_BINDING = 0x01;
    
        /**
         * Size of network interface info structure in bytes
         */
        public static final int NETWORK_INTERFACE_INFO_SIZE = 152;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

         * Context name for durable handle response
         */
        public static final String CONTEXT_NAME = "DHnQ";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        // The response structure is reserved and must be zero (8 bytes)
        private byte[] reserved = new byte[8];
    
        /**
         * Create a new durable handle response
         */
        public DurableHandleResponse() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertEquals(0, dfsRootEnum.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, dfsRootEnum.getFlags());
    
            // Verify DFS enumeration structure
            assertNotNull(dfsRootEnum.info);
            assertEquals(200, dfsRootEnum.info.level);
            assertNotNull(dfsRootEnum.info.e);
            assertInstanceOf(netdfs.DfsEnumArray200.class, dfsRootEnum.info.e);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 16) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[bufferIndex + 2];
            bufferIndex += 4;
            this.shareFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

            @DisplayName("Should write correct structure size")
            void testWriteBytesWireFormat() {
                byte[] buffer = new byte[100];
                int startIndex = 10;
    
                int bytesWritten = echoRequest.writeBytesWireFormat(buffer, startIndex);
    
                // Should write 4 bytes
                assertEquals(4, bytesWritten);
    
                // Should write structure size of 4
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top