Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for verification (0.06 sec)

  1. src/test/java/jcifs/smb/CredentialsInternalTest.java

                if (tc == null) {
                    throw new NullPointerException("tc");
                }
                // Exercise interaction with dependency for verification purposes
                // These methods do not throw and allow interaction checks.
                tc.getConfig();
                tc.getCredentials();
    
                // Minimal behavior: return a mock SSPContext with lenient stubbing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        @Test
        @DisplayName("Test decode with signature verification failure")
        void testDecodeWithSignatureVerificationFailure() {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) {
                @Override
                public boolean verifySignature(byte[] data, int offset, int length) {
                    return false; // Simulate signature verification failure
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals(0x9ABC, testBlock.getUid());
                assertEquals(0xDEF0, testBlock.getMid());
            }
    
            @Test
            @DisplayName("Test decode with signature verification failure")
            void testDecodeWithSignatureFailure() {
                testBlock = new TestServerMessageBlock(mockConfig) {
                    @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            String actualString = request.toString();
    
            assertTrue(actualString.startsWith(expectedStringPrefix));
            assertTrue(actualString.endsWith("]"));
            // Further verification could involve mocking super.toString() if needed
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            void testAllNullParameters() {
                // Act & Assert
                assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, null));
            }
        }
    
        @Nested
        @DisplayName("Inheritance verification")
        class InheritanceVerification {
    
            @Test
            @DisplayName("should properly extend base classes")
            void testInheritance() {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Verifies a Message Integrity Code (MIC) for the given data.
         * @param data the data to verify
         * @param mic the MIC to verify against
         * @throws CIFSException if the MIC verification fails or an error occurs
         */
        void verifyMIC(byte[] data, byte[] mic) throws CIFSException;
    
        /**
         * Checks whether Message Integrity Code (MIC) is available for use.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/mdo/profiles.mdo

              <type>String</type>
            </field>
            <field>
              <name>checksumPolicy</name>
              <version>1.0.0</version>
              <description>
                What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and
                above), "warn" (default for Maven 3) or "ignore".
              </description>
              <type>String</type>
            </field>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashTestUtils.java

        // interpreted in little-endian order.
        int verification = Integer.reverseBytes(Ints.fromByteArray(result));
    
        if (expected != verification) {
          throw new AssertionError(
              "Expected: "
                  + Integer.toHexString(expected)
                  + " got: "
                  + Integer.toHexString(verification));
        }
      }
    
      static final Funnel<Object> BAD_FUNNEL =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                System.arraycopy(buffer, 4, payload, 0, len);
                setRawPayload(payload);
            }
    
            if (!verifySignature(buffer, 4, len)) {
                throw new SMBProtocolDecodingException("Signature verification failed for " + this.getClass().getName());
            }
            return len;
        }
    
        /**
         * Writes the AndX wire format to buffer
         * @param dst the destination buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            when(mockRequest.getLength()).thenReturn(100);
    
            // Sign the data
            signDigest.sign(data, 0, data.length, mockRequest, null);
    
            // Create a new digest for verification with same key
            SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey);
    
            // Verify should return false when signature is correct (no error)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top