Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 163 for verification (0.32 sec)

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

            // Act: call methods, some multiple times
            String name = mockEntry.getName();
            int type1 = mockEntry.getType();
            int type2 = mockEntry.getType(); // called twice for interaction verification
            int attributes = mockEntry.getAttributes();
            long createTime = mockEntry.createTime();
            long lastModified = mockEntry.lastModified();
            long lastAccess = mockEntry.lastAccess();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HMACT64Test.java

                    break;
                }
            }
            assertEquals(true, different, "Different data should produce different HMAC values");
        }
    
        // Helper method to manually calculate HMACT64 for verification
        private byte[] calculateHMACT64Manually(byte[] key, byte[] data) throws NoSuchAlgorithmException {
            MessageDigest md5 = MessageDigest.getInstance("MD5");
            byte[] ipad = new byte[64];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for SMBSigningDigest interface
     * Tests the contract and behavior of signing and verification methods
     */
    class SMBSigningDigestTest {
    
        @Mock
        private SMBSigningDigest signingDigest;
    
        @Mock
        private CommonServerMessageBlock request;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals(0, blob.length(), "length() should return 0 when internal array is null");
        }
    
        @Spy
        SecurityBlob spyBlob = new SecurityBlob();
    
        // Illustrates Mockito interaction verification by spying on set() and validating behavior
        @Test
        @DisplayName("Mockito spy: verify set() interaction and resulting behavior")
        void spy_verifySetInteraction() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

                    otherContext.setSessionId("other-context");
                    CrawlingParameterUtil.setCrawlerContext(otherContext);
    
                    // Store values for verification
                    otherThreadUrlQueueSessionId.set(CrawlingParameterUtil.getUrlQueue().getSessionId());
                    otherThreadContextSessionId.set(CrawlingParameterUtil.getCrawlerContext().getSessionId());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
                    if (command == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended) {
                        wordCount += 8;
                    }
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

      }
    
      @Test fun specialKInHostname() {
        // https://github.com/apache/httpcomponents-client/commit/303e435d7949652ea77a6c50df1c548682476b6e
        // https://www.gosecure.net/blog/2020/10/27/weakness-in-java-tls-host-verification/
        val heldCertificate =
          HeldCertificate
            .Builder()
            .commonName("Foo Corp")
            .addSubjectAlternativeName("k.com")
            .addSubjectAlternativeName("tel.com")
            .build()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  8. docs/features/https.md

     * **Security** of the connection. This includes verification of the remote webserver with certificates and the privacy of data exchanged with strong ciphers.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // When: Setting security provider
                handle.setDcerpcSecurityProvider(mockSecurityProvider);
    
                // Then: Should not throw exception (private field, no direct verification)
                assertDoesNotThrow(() -> handle.setDcerpcSecurityProvider(mockSecurityProvider));
            }
    
            @Test
            @DisplayName("Should handle close operation")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(expectedLength, ndrBuffer.getIndex());
            assertEquals(expectedLength, ndrBuffer.getLength());
    
            // Verify content (simplified check, full verification would involve decoding)
            assertEquals(testString.length() + 1, Encdec.dec_uint32le(buffer, 0)); // Actual count
            assertEquals(0, Encdec.dec_uint32le(buffer, 4)); // Offset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top