Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 98 for verification (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            assertFalse(
                    wagon.getTransferEventSupport().hasTransferListener(transferListener),
                    "Transfer listener still registered after putArtifact");
        }
    
        /**
         * Checks the verification of checksums.
         */
        @Disabled
        @Test
        void testChecksumVerification() throws Exception {
            ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        void customizeCreateSetsFlagsAndExtended() throws Exception {
            // Arrange: real instance to call protected method; collaborators mocked for interaction verification
            SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx());
            SmbComNTCreateAndX req = mock(SmbComNTCreateAndX.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        @Test
        void testToString() {
            String result = response.toString();
            assertNotNull(result, "toString() should not return null.");
        }
    
        // Helper method to access the super.toString() for verification,
        // as we cannot call it directly from the test.
        // This requires a package-private or public method in the class under test,
        // or we can just check for the prefix and suffix.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                    ex.printStackTrace(log);
                }
            } finally {
                signSequence += 2;
            }
        }
    
        /**
         * Performs MAC signature verification.  This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data The data.
         * @param offset The starting offset at which the SMB header begins.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @DisplayName("Should correctly verify signatures - regression test for inverted logic bug")
            void testVerifySignatureLogicRegression() throws Exception {
                // This test ensures the signature verification logic is not inverted
                // Previously there was a bug where verify returned true for invalid signatures
    
                // Set signed flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         *
         * @param macSigningKey
         *            The MAC signing key used for generating signatures
         * @param bypass
         *            Whether to bypass signature verification
         */
        public SMB1SigningDigest(final byte[] macSigningKey, final boolean bypass) {
            this(macSigningKey, bypass, 0);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

    import javax.net.ssl.SSLEngine
    import javax.net.ssl.X509ExtendedTrustManager
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * This extends [X509ExtendedTrustManager] to disable verification for a set of hosts.
     *
     * Note that the superclass [X509ExtendedTrustManager] isn't available on Android until version 7
     * (API level 24).
     */
    @IgnoreJRERequirement
    internal class InsecureExtendedTrustManager(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         *
         * @return error status code
         */
        @Override
        public final int getErrorCode() {
            return getStatus();
        }
    
        /**
         *
         * @return whether signature verification failed
         */
        @Override
        public final boolean isVerifyFailed() {
            return this.verifyFailed;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

    import java.security.cert.Certificate
    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    import javax.net.ssl.X509TrustManager
    
    /** This extends [X509TrustManager] for Android to disable verification for a set of hosts. */
    internal class InsecureAndroidTrustManager(
      private val delegate: X509TrustManager,
      private val insecureHosts: List<String>,
    ) : X509TrustManager {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/WinErrorTest.java

                assertTrue(c >= 0, "Code should be non-negative: " + c);
                assertTrue(seen.add(c), "Duplicate code detected: " + c);
            }
        }
    
        // Simple collaborator to demonstrate interaction verification with Mockito
        interface Handler {
            void handle(int code, String message);
        }
    
        @Mock
        Handler handler;
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top