Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SMB2_DIALECT_0202 (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void testSignAndVerifyRoundTripSmb202() throws GeneralSecurityException {
                Smb2SigningDigest digest1 = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
                Smb2SigningDigest digest2 = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
    
                byte[] data = new byte[128];
                Arrays.fill(data, (byte) 0x42);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertTrue(dialect >= Smb2Constants.SMB2_DIALECT_0202,
                        "Dialect " + String.format("0x%04X", dialect) + " should be >= SMB 2.0.2");
            }
    
            @Test
            @DisplayName("Dialects should be in ascending order")
            void testDialectOrdering() {
                assertTrue(Smb2Constants.SMB2_DIALECT_0202 < Smb2Constants.SMB2_DIALECT_0210, "SMB 2.0.2 should be less than SMB 2.1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002;
    
        /**
         * SMB 2.0.2 dialect (Windows Vista/Server 2008)
         */
        public static final int SMB2_DIALECT_0202 = 0x0202;
    
        /**
         * SMB 2.1 dialect (Windows 7/Server 2008R2)
         */
        public static final int SMB2_DIALECT_0210 = 0x0210;
    
        /**
         * SMB 3.0 dialect (Windows 8/Server 2012)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/DialectVersion.java

     *
     * @author mbechler
     */
    public enum DialectVersion {
    
        /**
         * Legacy SMB1/CIFS
         */
        SMB1,
    
        /**
         * SMB 2.02 - Windows Vista+
         */
        SMB202(Smb2Constants.SMB2_DIALECT_0202),
    
        /**
         * SMB 2.1 - Windows 7/Server 2008R2
         */
        SMB210(Smb2Constants.SMB2_DIALECT_0210),
    
        /**
         * SMB 3.0 - Windows 8/Server 2012
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

         */
        public Smb2SigningDigest(final byte[] sessionKey, final int dialect, final byte[] preauthIntegrityHash)
                throws GeneralSecurityException {
            switch (dialect) {
            case Smb2Constants.SMB2_DIALECT_0202:
            case Smb2Constants.SMB2_DIALECT_0210:
                this.algorithmName = "HmacSHA256";
                this.provider = null;
                this.signingKey = sessionKey.clone();
                break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                    r.received();
    
                    if (r.getDialectRevision() == Smb2Constants.SMB2_DIALECT_ANY) {
                        return negotiate2(r);
                    } else if (r.getDialectRevision() != Smb2Constants.SMB2_DIALECT_0202) {
                        throw new CIFSException("Server returned invalid dialect verison in multi protocol negotiation");
                    }
    
                    final int permits = r.getInitialCredits();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top