Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 121 for verification (0.73 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. docs/logging/README.md

    sasl             (on|off)    set to 'on' to enable SASL authentication
    tls              (on|off)    set to 'on' to enable TLS
    tls_skip_verify  (on|off)    trust server TLS without verification, defaults to "on" (verify)
    client_tls_cert  (path)      path to client certificate for mTLS auth
    client_tls_key   (path)      path to client key for mTLS auth
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            assertEquals(0, response.readBytesWireFormat(null, 0), "Should read 0 bytes");
        }
    
        /* ------------------------------------------------------------------ */
        /* 4. State verification after operations                             */
        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Multiple reads update offset correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Assert
            assertNotNull(handle);
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            // Further verification could involve capturing the MsrpcLsarOpenPolicy2 argument and checking its server field.
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top