Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 663 for SMB (0.01 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

            });
        }
    
        @Test
        public void testValidSmbUrl() throws Exception {
            String url = "smb://server/share/folder/file.txt";
            String normalized = validator.validateSmbUrl(url);
            assertTrue(normalized.startsWith("smb://"));
            assertTrue(normalized.contains("server"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceLocatorTest.java

                }
                if (!urlStr.startsWith("smb://")) {
                    throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation");
                }
                this.urlStr = urlStr;
    
                // Parse SMB URL manually
                String remaining = urlStr.substring(6); // Remove "smb://"
                int slashIndex = remaining.indexOf('/');
                if (slashIndex == -1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

            }
    
            @Test
            @DisplayName("createEncryptionContext selects AES-CCM for SMB 3.0 and AES-GCM for SMB 3.1.1")
            void createEncryptionContext_happyDialects() throws Exception {
                byte[] sessionKey = new byte[16];
                byte[] preauth = new byte[16];
    
                // SMB 3.0 -> AES-128-CCM
                setField(transport, "smb2", true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DosFileFilterTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/SMBSigningDigest.java

     */
    package jcifs.internal;
    
    /**
     * Interface for SMB message signing and verification operations.
     * Provides cryptographic signing capabilities for SMB protocol messages to ensure
     * message integrity and authenticity using MAC (Message Authentication Code) algorithms.
     *
     * @author mbechler
     */
    public interface SMBSigningDigest {
    
        /**
         * Performs MAC signing of the SMB. This is done as follows.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertTrue(Smb2Constants.SMB2_DIALECT_0202 < Smb2Constants.SMB2_DIALECT_0210, "SMB 2.0.2 should be less than SMB 2.1");
                assertTrue(Smb2Constants.SMB2_DIALECT_0210 < Smb2Constants.SMB2_DIALECT_0300, "SMB 2.1 should be less than SMB 3.0");
                assertTrue(Smb2Constants.SMB2_DIALECT_0300 < Smb2Constants.SMB2_DIALECT_0302, "SMB 3.0 should be less than SMB 3.0.2");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.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.smb;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/CommonServerMessageBlock.java

     */
    package jcifs.internal;
    
    import jcifs.util.transport.Message;
    
    /**
     * Common interface for all SMB message blocks in the jCIFS protocol implementation.
     * Provides core functionality for encoding/decoding SMB messages, handling message signing,
     * and managing message metadata such as IDs, commands, and authentication information.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

         * @param signingEnforced whether SMB signing is enforced
         */
        public SmbComNegotiate(final Configuration config, final boolean signingEnforced) {
            super(config, SMB_COM_NEGOTIATE);
            this.signingEnforced = signingEnforced;
            setFlags2(config.getFlags2());
    
            if (config.getMinimumVersion().isSMB2()) {
                this.dialects = new String[] { "SMB 2.???", "SMB 2.002" };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to delete a file.
         */
        public static final byte SMB_COM_DELETE = (byte) 0x06;
    
        /**
         * SMB command to rename a file.
         */
        public static final byte SMB_COM_RENAME = (byte) 0x07;
    
        /**
         * SMB command to query file information.
         */
        public static final byte SMB_COM_QUERY_INFORMATION = (byte) 0x08;
    
        /**
         * SMB command to set file information.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top