Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for verification (0.06 sec)

  1. src/main/java/jcifs/util/transport/Response.java

         * @param size the size of the signature data
         * @return whether signature verification is successful
         */
        boolean verifySignature(byte[] buffer, int i, int size);
    
        /**
         * Checks if signature verification failed.
         *
         * @return whether signature verification failed
         */
        boolean isVerifyFailed();
    
        /**
         * Checks if the response indicates an error.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/SMBSigningDigest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    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
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/ResponseTest.java

            int offset = 0;
            int size = 3;
    
            // Simulate successful verification
            when(mockResponse.verifySignature(buffer, offset, size)).thenReturn(true);
            assertTrue(mockResponse.verifySignature(buffer, offset, size));
    
            // Simulate failed verification
            when(mockResponse.verifySignature(buffer, offset, size)).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. docs/security/security.md

    ```
    
    The best way to verify artifacts is [automatically with Gradle][gradle_verification].
    
    
    [gradle_verification]: https://docs.gradle.org/current/userguide/dependency_verification.html#sec:signature-verification
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 27 10:19:17 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

         */
        @Size(max = 10000)
        @Required
        public String rt;
    
        /**
         * Hash value for security or validation purposes.
         * This field is optional and used for request verification.
         */
        public String hash;
    
        /**
         * Query identifier associated with the search that led to this document access.
         * This is required for tracking and analytics purposes.
         */
        @Required
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

        /**
         * Indicates whether Maven should use strict checksum verification.
         *
         * @return an {@link Optional} containing true if strict checksum verification is enabled, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> strictChecksums();
    
        /**
         * Indicates whether Maven should use relaxed checksum verification.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top